Skip to content

RuanAragao/cccheck

Repository files navigation

CCCheck - Credit Card Check 💳 ✔️

GitHub version npm version GitHub issues GitHub forks GitHub stars GitHub contributors GitHub license

image

To Use:

  • Add CSS link: cccheck/dist/css/cccheck.css.
  • Add JavaScript link: cccheck/dist/js/jquery.cccheck.js.
  • You need to have jQuery in your project, of course.

To Configure:

$(document).ready(function() {
  $.cccheck({
    // Config local
    'input_cc_number'     :   '#cc-number',
    'element_show_label'  :   '#show-cc-label'
  });
})

To Contribute:

  1. Fork this repository.
  2. git clone github.com/[you]/cccheck.git
  3. cd cccheck
  4. yarn
  5. yarn watch (for development) or yarn build (for production)

Files for plugin

  • The scripts into ./js
  • The styles SCSS into ./scss
  • No edit ./dist

Files non-plugin

For styles and scripts exclusive of the example page, add directory in index.html.

Question / Bug / Idea

Open an issue

Contributors

Made with contributors-img.