ccscan

1.1.2 • Public • Published

ccscan

Build status TypeScript 3.5.3

Scan files for credit card numbers

Usage

npx ccscan

Precommit Hook

You can also add ccscan to your project and set it up as a precommit hook that will block any commits that contain card numbers.

Install Dependencies

yarn add --dev ccscan husky lint-staged or npm install -D ccscan husky lint-staged

Add to package.json

"husky"{
  "hooks": {
    "pre-commit": "lint-staged"
  }
},
"lint-staged"{
  "*.{ts,tsx,js}": [
    "ccscan",
    "git add"
  ]
}

Contributing

  1. Fork this repo
  2. Clone the forked repo
  3. Install dependencies: yarn

Building

yarn build

To clean the build directory run yarn clean

Running Tests

yarn test

Publishing

  1. Update the version in package.json
  2. Add a CHANGELOG.md entry
  3. Commit your changes
  4. Run npm pack to see what will be published then delete the .tgz file that was created
  5. Run npm publish
  6. Create a release on GitHub. Use the version as the tag and release name. For example for version 1.0.0 the tag and release name would be v1.0.0.

/ccscan/

    Package Sidebar

    Install

    npm i ccscan

    Weekly Downloads

    3,323

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    399 kB

    Total Files

    29

    Last publish

    Collaborators

    • neo-daniel-brennan
    • neoauderesantos
    • neo-matt-felice
    • dennisbarthel
    • neo-rivan-mota
    • lucachamecki
    • edward.nazarov
    • ar-ies
    • michelepiperni
    • kyle-elyk-neo
    • amjad-mahfoud-neo
    • vidalrmrz
    • rnetto46
    • kaelanneofinancial
    • maiko.trindade
    • darrenpicard25
    • brayden_sc_neo
    • eric.zaporzan.neo
    • lucasparreira
    • lewishorwood
    • craigsiemens
    • diegobmy
    • joelsimpson
    • ronellgarcia
    • neo-elgiz-abbasov
    • u2v22
    • neo-bclausi
    • nikita-syrotenko
    • jcavalcanti
    • johnclendvoy
    • neo-peter-spangler
    • dustinn1235
    • neogibson
    • beraki
    • vrochamaaia
    • d_fenniak
    • adamtranquilla
    • lucaslongarini
    • divanshu
    • caio.andrade
    • timothy.couch.neofinancial
    • brentcam
    • mike.himbeault-neo
    • stefan.amyotte
    • neo-travis-friesen
    • herculesjr
    • nahom-neo
    • joeljwood
    • neo-rodrigoraval
    • malcolm-neo
    • scottkayeneo
    • dhruvang
    • mohpor
    • raul.ribeiro
    • lavanya.mohan
    • mhowitt-neo
    • benx-neo
    • neo-dakota-chatt
    • vinicius-barcelos
    • rjberry
    • desmond-maloney
    • maiahneo
    • lucasjohannson
    • matheusicaro
    • stburke
    • neo-ricardo-gomez
    • neo-dione-silva
    • tunde-neo
    • neobot1
    • neo-bryce-brandford
    • gaulford
    • danielafekhume-neo
    • kennethcolina
    • neo-paula-grangeiro
    • neo-ahmed-seifelnasr
    • jadonduby
    • biancaballena
    • neo-shubham-patel
    • neo-will-parker
    • neo-chris-noble
    • neo-diego-nunes
    • felipe.minetto
    • neo-oleksandr-yanchenko
    • neo-lior-ben-shahar
    • antonio.canabrava
    • mganzneo
    • neo-eason-chang
    • neo-edimar-cardoso
    • rajanatneo
    • neo-colin-hanlon-dearman
    • alejandrogarbi
    • matt-armstrong
    • leah-is-offline
    • annakumova
    • jimi487
    • neo-tamika-taylor
    • samin_farajian
    • mahtab.khan
    • niloofarshs
    • neo-julio-falbo
    • neo-levin-dixon
    • neo-bruno-lautenschlager
    • marianniem
    • sabaneo
    • michael.harmer.neo
    • ibrahimelement
    • neo-omar-hamid
    • neo-sourav-kumar
    • charles.ai.neo
    • matteo-molnar
    • neo-chloe-bouchard
    • lily.yao
    • jhio.soriano.neo
    • vadym-aminov
    • neo-ann-nguyen
    • neo-shiva-radmanesh
    • s.kettle
    • neo-thulio-horta
    • thiago.marinho.neo
    • neo-cody-johnson
    • felipe.assis
    • junliu007
    • jose_cardozo
    • iansu