Skip to content

CLI that scans files for potentially real Swedish social security numbers (personnummer)

License

Notifications You must be signed in to change notification settings

stofolus/pnr-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pnr-scanner CircleCI

Find Swedish personal identity numbers (personnummer) in your code

Due to GDPR it's more important than ever to not have personal information outside of your production environment. This project aims to help people find and fix Swedish personal identity numbers (personnummer) in code (or any textfiles)


Usage

Once

If your only need to do this once you could run it with npx. It takes a bit longer but doens't require an install command (it installs it before each run and removes it after)

$ npx pnr-scanner .

Often

If you intend to run this package more than once I suggest you install it globally since this will be alot faster. The downside to this is that you have to update it yourself

$ npm install --global pnr-scanner
$ pnr-scanner .

Options

  Usage: pnr-scanner <directories or files> [options]

  Options:

    -V, --version            output the version number
    -v, --verbose            Enable verbose logging
    -p, --pattern <pattern>  Glob pattern default is !(node_modules){,/**}
    -h, --help               output usage information

About

CLI that scans files for potentially real Swedish social security numbers (personnummer)

Resources

License

Stars

Watchers

Forks

Packages

No packages published