{"_id":"pci-dss-sanitizer","_rev":"27-4ed9ffea1ab68fc2eff5ecddf2d277d3","name":"pci-dss-sanitizer","dist-tags":{"rc":"2.1.0-rc.1","latest":"2.0.2"},"versions":{"0.0.0-semantic-release":{"name":"pci-dss-sanitizer","version":"0.0.0-semantic-release","keywords":["pci-dss","sanitize"],"author":{"url":"http://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","_id":"pci-dss-sanitizer@0.0.0-semantic-release","maintainers":[{"name":"skedify","email":"adriaan+npm@skedify.co"}],"homepage":"https://github.com/skedify/pci-dss-sanitizer","bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"nyc":{"include":["src/**/*.js"],"require":["babel-register"],"reporter":["lcov","text"],"sourceMap":false,"instrument":false},"dist":{"shasum":"a6511afe1e571eb0aca78c7af1988ef3e04687c3","tarball":"https://registry.npmjs.org/pci-dss-sanitizer/-/pci-dss-sanitizer-0.0.0-semantic-release.tgz","integrity":"sha512-0MchgpJkWQmJkXH478XnOT018c52JZvepiBIBftbxSqAnepkJ80oqwUeNB2KQZBUq9ziKfpCipPtSwCgcmbjDQ==","signatures":[{"sig":"MEUCIQDmLci3BiJMZVwnh37yuslf9JqQzmSo9KuyyzAb/MVJMQIgMhHiTPqbihFtE92isGA5+0rQAfZh87bUYHKrYO+csEA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"config":{"ghooks":{"pre-push":"npm test && npm run check-coverage","commit-msg":"node_modules/.bin/validate-commit-msg","post-merge":"npm install","pre-commit":"npm run lint","post-rewrite":"npm install"},"commitizen":{"path":"node_modules/cz-conventional-changelog"},"validate-commit-msg":{"types":"conventional-commit-types","helpMessage":"Use `npm run commit`. The subject should complete the following sentence: 'When applied, this commit will ...''","subjectPattern":"[a-z].+","subjectPatternErrorMsg":"Subject is invalid"}},"_shasum":"a6511afe1e571eb0aca78c7af1988ef3e04687c3","gitHead":"d620b2a82cee57beb60560565cfbcf4bd6457c95","scripts":{"lint":"eslint --cache src/**/*.js test/**/*.js","test":"cross-env NODE_ENV=test nyc mocha test/*.js","build":"rollup -c","watch":"rollup -c --watch","commit":"git-cz","prebuild":"eslint --cache src/**/*.js && rimraf lib","prepublish":"npm test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"skedify","email":"adriaan+npm@skedify.co"},"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"_npmVersion":"3.10.3","description":"Mask bank card info from strings","directories":{},"_nodeVersion":"6.5.0","dependencies":{},"devDependencies":{"nyc":"^8.3.0","chai":"^3.5.0","babel":"^6.5.2","mocha":"^3.0.2","eslint":"^3.6.0","rimraf":"^2.5.4","rollup":"^0.36.0","istanbul":"^0.4.5","cross-env":"^3.0.0","commitizen":"^2.8.6","babel-eslint":"^6.1.2","rollup-watch":"^2.5.0","semantic-release":"^4.3.5","eslint-plugin-babel":"^3.3.0","rollup-plugin-babel":"^2.6.1","validate-commit-msg":"^2.8.0","eslint-plugin-better":"^0.1.5","rollup-plugin-eslint":"^3.0.0","babel-plugin-istanbul":"^2.0.1","eslint-plugin-filenames":"^1.1.0","cz-conventional-changelog":"^1.2.0","rollup-plugin-node-resolve":"^2.0.0","eslint-plugin-require-in-package":"^1.0.3","babel-plugin-syntax-trailing-function-commas":"^6.13.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0"},"_npmOperationalInternal":{"tmp":"tmp/pci-dss-sanitizer-0.0.0-semantic-release.tgz_1474895883921_0.3986306006554514","host":"packages-12-west.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.1":{"name":"pci-dss-sanitizer","version":"0.0.1","keywords":["pci-dss","sanitize"],"author":{"url":"http://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","_id":"pci-dss-sanitizer@0.0.1","maintainers":[{"name":"skedify","email":"adriaan+npm@skedify.co"}],"homepage":"https://github.com/skedify/pci-dss-sanitizer","bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"nyc":{"include":["src/**/*.js"],"require":["babel-register"],"reporter":["lcov","text"],"sourceMap":false,"instrument":false},"dist":{"shasum":"32ebfd52e871d46da86fa65b2737c818e177ca2d","tarball":"https://registry.npmjs.org/pci-dss-sanitizer/-/pci-dss-sanitizer-0.0.1.tgz","integrity":"sha512-xjH8GYFPbhTNo2d4/QNNDWS00GddzgFhH6Fudb8AvQgt1idN4msauk+tkXGshyeGv2g15S+FL5uwkquQeCv6Sg==","signatures":[{"sig":"MEQCIDORQGyNiOtWydQ3mHXUtaRz5fYNOLgAYYwnx4BsJg4hAiA9c647Fwk6BmXc6mJhxoCiMri3aIGrCKmKOe8AoLKx3A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"config":{"ghooks":{"pre-push":"npm test && npm run check-coverage","commit-msg":"node_modules/.bin/validate-commit-msg","post-merge":"npm install","pre-commit":"npm run lint","post-rewrite":"npm install"},"commitizen":{"path":"node_modules/cz-conventional-changelog"},"validate-commit-msg":{"types":"conventional-commit-types","helpMessage":"Use `npm run commit`. The subject should complete the following sentence: 'When applied, this commit will ...''","subjectPattern":"[a-z].+","subjectPatternErrorMsg":"Subject is invalid"}},"_shasum":"32ebfd52e871d46da86fa65b2737c818e177ca2d","gitHead":"d620b2a82cee57beb60560565cfbcf4bd6457c95","scripts":{"lint":"eslint --cache src/**/*.js test/**/*.js","test":"cross-env NODE_ENV=test nyc mocha test/*.js","build":"rollup -c","watch":"rollup -c --watch","commit":"git-cz","prebuild":"eslint --cache src/**/*.js && rimraf lib","prepublish":"npm test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"skedify","email":"adriaan+npm@skedify.co"},"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"_npmVersion":"3.10.3","description":"Mask bank card info from strings","directories":{},"_nodeVersion":"6.5.0","dependencies":{},"devDependencies":{"nyc":"^8.3.0","chai":"^3.5.0","babel":"^6.5.2","mocha":"^3.0.2","eslint":"^3.6.0","rimraf":"^2.5.4","rollup":"^0.36.0","istanbul":"^0.4.5","cross-env":"^3.0.0","commitizen":"^2.8.6","babel-eslint":"^6.1.2","rollup-watch":"^2.5.0","semantic-release":"^4.3.5","eslint-plugin-babel":"^3.3.0","rollup-plugin-babel":"^2.6.1","validate-commit-msg":"^2.8.0","eslint-plugin-better":"^0.1.5","rollup-plugin-eslint":"^3.0.0","babel-plugin-istanbul":"^2.0.1","eslint-plugin-filenames":"^1.1.0","cz-conventional-changelog":"^1.2.0","rollup-plugin-node-resolve":"^2.0.0","eslint-plugin-require-in-package":"^1.0.3","babel-plugin-syntax-trailing-function-commas":"^6.13.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0"},"_npmOperationalInternal":{"tmp":"tmp/pci-dss-sanitizer-0.0.1.tgz_1474895902294_0.9744733951520175","host":"packages-16-east.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.2":{"name":"pci-dss-sanitizer","version":"0.0.2","keywords":["pci-dss","sanitize"],"author":{"url":"http://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","_id":"pci-dss-sanitizer@0.0.2","maintainers":[{"name":"skedify","email":"adriaan+npm@skedify.co"}],"homepage":"https://github.com/skedify/pci-dss-sanitizer","bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"nyc":{"include":["src/**/*.js"],"require":["babel-register"],"reporter":["lcov","text"],"sourceMap":false,"instrument":false},"dist":{"shasum":"6f5a3dec961cc5cc211103dd612ab67d043055db","tarball":"https://registry.npmjs.org/pci-dss-sanitizer/-/pci-dss-sanitizer-0.0.2.tgz","integrity":"sha512-mYPzXrRk24jmmfLf7021+lEjKM8+DEhNQ83w4f0BFhyBEL1H8MtDISd5aXSm/PISXmliULPTf5SXn3wgdTIJ6A==","signatures":[{"sig":"MEUCIQDvKzBleKBeCpkwIqw538WT0emMOUnDNYF8SZVF0nNeBQIgWXth6S9Iso4n3q+H+o8Rj88UUryk979L6QgtT+th1do=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"config":{"ghooks":{"pre-push":"npm test && npm run check-coverage","commit-msg":"node_modules/.bin/validate-commit-msg","post-merge":"npm install","pre-commit":"npm run lint","post-rewrite":"npm install"},"commitizen":{"path":"node_modules/cz-conventional-changelog"},"validate-commit-msg":{"types":"conventional-commit-types","helpMessage":"Use `npm run commit`. The subject should complete the following sentence: 'When applied, this commit will ...''","subjectPattern":"[a-z].+","subjectPatternErrorMsg":"Subject is invalid"}},"_shasum":"6f5a3dec961cc5cc211103dd612ab67d043055db","gitHead":"6120269129d959d5d027065d1b2ffaa8d5997529","scripts":{"lint":"eslint --cache src/**/*.js test/**/*.js","test":"cross-env NODE_ENV=test nyc mocha test/[^.]*.js test/**/[^.]*.js","build":"rollup -c","watch":"rollup -c --watch","commit":"git-cz","prebuild":"eslint --cache src/**/*.js && rimraf lib","prepublish":"npm test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"skedify","email":"adriaan+npm@skedify.co"},"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"_npmVersion":"3.10.3","description":"Mask bank card info from strings","directories":{},"_nodeVersion":"6.5.0","dependencies":{"luhn":"~2.1.0"},"devDependencies":{"nyc":"^8.3.0","chai":"^3.5.0","babel":"^6.5.2","mocha":"^3.0.2","eslint":"^3.6.0","rimraf":"^2.5.4","rollup":"^0.36.0","istanbul":"^0.4.5","cross-env":"^3.0.0","commitizen":"^2.8.6","babel-eslint":"^6.1.2","rollup-watch":"^2.5.0","semantic-release":"^4.3.5","eslint-plugin-babel":"^3.3.0","rollup-plugin-babel":"^2.6.1","validate-commit-msg":"^2.8.0","eslint-plugin-better":"^0.1.5","rollup-plugin-eslint":"^3.0.0","babel-plugin-istanbul":"^2.0.1","eslint-plugin-filenames":"^1.1.0","cz-conventional-changelog":"^1.2.0","rollup-plugin-node-resolve":"^2.0.0","eslint-plugin-require-in-package":"^1.0.3","babel-plugin-syntax-trailing-function-commas":"^6.13.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0"},"_npmOperationalInternal":{"tmp":"tmp/pci-dss-sanitizer-0.0.2.tgz_1475226781429_0.4867408173158765","host":"packages-16-east.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.3":{"name":"pci-dss-sanitizer","version":"0.0.3","keywords":["pci-dss","sanitize"],"author":{"url":"http://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","_id":"pci-dss-sanitizer@0.0.3","maintainers":[{"name":"skedify","email":"adriaan+npm@skedify.co"}],"homepage":"https://github.com/skedify/pci-dss-sanitizer","bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"nyc":{"include":["src/**/*.js"],"require":["babel-register"],"reporter":["lcov","text"],"sourceMap":false,"instrument":false},"dist":{"shasum":"1cdac8faa77d1278d13b42328ef302741139ed38","tarball":"https://registry.npmjs.org/pci-dss-sanitizer/-/pci-dss-sanitizer-0.0.3.tgz","integrity":"sha512-y1vcGrZ6pdj9O05lmfbKmPRjS5pzf8ic988DpO6OPJ94bBDjC6ovlIDaxkQbWj4Jui4uTv7qNjyZRG59wsF37A==","signatures":[{"sig":"MEUCIQC5i3l/5WIjNST2IkToo0t5sjToYfNUiQ+VeiRA51qSagIgJGxzlaS+uP5BtWIT3PbFySotYWSqWrvMfDZZyu84IVk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"config":{"ghooks":{"pre-push":"npm test && npm run check-coverage","commit-msg":"node_modules/.bin/validate-commit-msg","post-merge":"npm install","pre-commit":"npm run lint","post-rewrite":"npm install"},"commitizen":{"path":"node_modules/cz-conventional-changelog"},"validate-commit-msg":{"types":"conventional-commit-types","helpMessage":"Use `npm run commit`. The subject should complete the following sentence: 'When applied, this commit will ...''","subjectPattern":"[a-z].+","subjectPatternErrorMsg":"Subject is invalid"}},"_shasum":"1cdac8faa77d1278d13b42328ef302741139ed38","gitHead":"6120269129d959d5d027065d1b2ffaa8d5997529","scripts":{"lint":"eslint --cache src/**/*.js test/**/*.js","test":"cross-env NODE_ENV=test nyc mocha test/[^.]*.js test/**/[^.]*.js","build":"rollup -c","watch":"rollup -c --watch","commit":"git-cz","prebuild":"eslint --cache src/**/*.js && rimraf lib","prepublish":"npm test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"skedify","email":"adriaan+npm@skedify.co"},"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"_npmVersion":"3.10.3","description":"Mask bank card info from strings","directories":{},"_nodeVersion":"6.5.0","dependencies":{"luhn":"~2.1.0"},"devDependencies":{"nyc":"^8.3.0","chai":"^3.5.0","babel":"^6.5.2","mocha":"^3.0.2","eslint":"^3.6.0","rimraf":"^2.5.4","rollup":"^0.36.0","istanbul":"^0.4.5","cross-env":"^3.0.0","commitizen":"^2.8.6","babel-eslint":"^6.1.2","rollup-watch":"^2.5.0","semantic-release":"^4.3.5","eslint-plugin-babel":"^3.3.0","rollup-plugin-babel":"^2.6.1","validate-commit-msg":"^2.8.0","eslint-plugin-better":"^0.1.5","rollup-plugin-eslint":"^3.0.0","babel-plugin-istanbul":"^2.0.1","eslint-plugin-filenames":"^1.1.0","cz-conventional-changelog":"^1.2.0","rollup-plugin-node-resolve":"^2.0.0","eslint-plugin-require-in-package":"^1.0.3","babel-plugin-syntax-trailing-function-commas":"^6.13.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0"},"_npmOperationalInternal":{"tmp":"tmp/pci-dss-sanitizer-0.0.3.tgz_1475237197532_0.6251582221593708","host":"packages-16-east.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.0":{"name":"pci-dss-sanitizer","version":"0.1.0","keywords":["pci-dss","sanitize"],"author":{"url":"http://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","_id":"pci-dss-sanitizer@0.1.0","maintainers":[{"name":"skedify","email":"adriaan+npm@skedify.co"}],"homepage":"https://github.com/skedify/pci-dss-sanitizer","bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"nyc":{"include":["src/**/*.js"],"require":["babel-register"],"reporter":["lcov","text"],"sourceMap":false,"instrument":false},"dist":{"shasum":"e7bae55d3a00ffe0783060b474b1209602ceecb6","tarball":"https://registry.npmjs.org/pci-dss-sanitizer/-/pci-dss-sanitizer-0.1.0.tgz","integrity":"sha512-DhAPVzUNZtMLc2cuXasS9XPKifOVK4Q6DOa/g332SGmiozJQBOXDRI4Kx9+Q1qhPq3CvuUFpI7b5gvYJbDm5qw==","signatures":[{"sig":"MEUCIDpX2ESF7S/QZaeb+VRQsJ0awaEN875Ad8n1sSKLGW6XAiEA5rgw7U5yMbjFwh3I9J8NqvhRI5SRlTBWkeQizdAeSvs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"},"validate-commit-msg":{"types":"conventional-commit-types","helpMessage":"Use `npm run commit`. The subject should complete the following sentence: 'When applied, this commit will ...''","subjectPattern":"[a-z].+","subjectPatternErrorMsg":"Subject is invalid"}},"_shasum":"e7bae55d3a00ffe0783060b474b1209602ceecb6","gitHead":"0cbf91ef6d2c50d6c577ce9534a4304dec1357d8","scripts":{"lint":"eslint --cache src/**/*.js test/**/*.js","test":"cross-env NODE_ENV=test nyc mocha test/[^.]*.js test/**/[^.]*.js","build":"rollup -c","watch":"rollup -c --watch","commit":"git-cz","prepush":"npm test && npm run check-coverage","prebuild":"eslint --cache src/**/*.js && rimraf lib","commitmsg":"validate-commit-msg","postmerge":"npm install","precommit":"npm run lint","prepublish":"npm test","postrewrite":"npm install","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"skedify","email":"git+npm@skedify.co"},"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"_npmVersion":"4.1.2","description":"Mask bank card info from strings","directories":{},"_nodeVersion":"7.7.1","dependencies":{"luhn":"~2.1.0","multipipe":"^1.0.2"},"devDependencies":{"nyc":"^10.1.2","chai":"^3.5.0","babel":"^6.23.0","husky":"^0.13.2","mocha":"^3.2.0","eslint":"^3.17.1","rimraf":"^2.6.1","rollup":"^0.41.4","istanbul":"^0.4.5","cross-env":"^3.2.3","codecov.io":"^0.1.6","commitizen":"^2.9.6","babel-eslint":"^7.1.1","rollup-watch":"^3.2.2","semantic-release":"^6.3.2","rollup-plugin-babel":"^2.7.1","validate-commit-msg":"^2.11.1","eslint-plugin-better":"^0.1.5","rollup-plugin-eslint":"^3.0.0","babel-plugin-istanbul":"^4.0.0","eslint-plugin-filenames":"^1.1.0","cz-conventional-changelog":"^2.0.0","rollup-plugin-node-resolve":"^2.0.0","eslint-plugin-require-in-package":"^1.0.3","babel-plugin-syntax-trailing-function-commas":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/pci-dss-sanitizer-0.1.0.tgz_1488902078107_0.784799482440576","host":"packages-18-east.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0":{"name":"pci-dss-sanitizer","version":"1.0.0","keywords":["pci-dss","sanitize"],"author":{"url":"http://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","_id":"pci-dss-sanitizer@1.0.0","maintainers":[{"name":"skedify","email":"adriaan+npm@skedify.co"}],"homepage":"https://github.com/skedify/pci-dss-sanitizer","bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"nyc":{"include":["src/**/*.js"],"require":["babel-register"],"reporter":["lcov","text"],"sourceMap":false,"instrument":false},"dist":{"shasum":"1b0a2976eea11706194457d730366f28a5593362","tarball":"https://registry.npmjs.org/pci-dss-sanitizer/-/pci-dss-sanitizer-1.0.0.tgz","integrity":"sha512-lAaTYK70oR9/JMFxZy4oii3B8Sw8OlF/YgBCdEMdGMBL7frT8Qx0IOG2Av7xh5Ly326giYFEDu4lnS3tyJs30w==","signatures":[{"sig":"MEUCIG/xZ8y6FmpNzPEebIHwC8MFBDUX60JIDI6EhmpRWEdDAiEAgGoepyfwQPt7BokaGP2HscnYj0sFZS6YnzkFQ+QeRSs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"},"validate-commit-msg":{"types":"conventional-commit-types","helpMessage":"Use `npm run commit`. The subject should complete the following sentence: 'When applied, this commit will ...''","subjectPattern":"[a-z].+","subjectPatternErrorMsg":"Subject is invalid"}},"_shasum":"1b0a2976eea11706194457d730366f28a5593362","gitHead":"68dc0d94aeb76d6348f9af76a9174135a0871c43","scripts":{"lint":"eslint --cache src/**/*.js test/**/*.js","test":"cross-env NODE_ENV=test nyc mocha test/[^.]*.js test/**/[^.]*.js","build":"rollup -c","watch":"rollup -c --watch","commit":"git-cz","prepush":"npm test && npm run check-coverage","prebuild":"eslint --cache src/**/*.js && rimraf lib","commitmsg":"validate-commit-msg","postmerge":"npm install","precommit":"npm run lint","prepublish":"npm test","postrewrite":"npm install","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"skedify","email":"git+npm@skedify.co"},"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"_npmVersion":"4.1.2","description":"Mask bank card info from strings","directories":{},"_nodeVersion":"7.5.0","dependencies":{"luhn":"~2.1.0","multipipe":"^1.0.2"},"devDependencies":{"nyc":"^10.1.2","chai":"^3.5.0","babel":"^6.23.0","husky":"^0.13.2","mocha":"^3.2.0","eslint":"^3.17.1","rimraf":"^2.6.1","rollup":"^0.41.4","istanbul":"^0.4.5","cross-env":"^3.2.3","codecov.io":"^0.1.6","commitizen":"^2.9.6","babel-eslint":"^7.1.1","rollup-watch":"^3.2.2","semantic-release":"^6.3.2","rollup-plugin-babel":"^2.7.1","validate-commit-msg":"^2.11.1","eslint-plugin-better":"^0.1.5","rollup-plugin-eslint":"^3.0.0","babel-plugin-istanbul":"^4.0.0","eslint-plugin-filenames":"^1.1.0","cz-conventional-changelog":"^2.0.0","rollup-plugin-node-resolve":"^2.0.0","eslint-plugin-require-in-package":"^1.0.3","babel-plugin-syntax-trailing-function-commas":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/pci-dss-sanitizer-1.0.0.tgz_1488902446879_0.6916647048201412","host":"packages-18-east.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"pci-dss-sanitizer","version":"1.0.1","keywords":["pci-dss","sanitize"],"author":{"url":"http://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","_id":"pci-dss-sanitizer@1.0.1","maintainers":[{"name":"skedify","email":"adriaan+npm@skedify.co"}],"homepage":"https://github.com/skedify/pci-dss-sanitizer","bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"nyc":{"include":["src/**/*.js"],"require":["babel-register"],"reporter":["lcov","text"],"sourceMap":false,"instrument":false},"dist":{"shasum":"b30bbd82b4d3e76d2566be9d65be0241dbf1ad6e","tarball":"https://registry.npmjs.org/pci-dss-sanitizer/-/pci-dss-sanitizer-1.0.1.tgz","integrity":"sha512-eAqCli5L9vP7EAIy1pRcEiM/2JV2NUnKuOz79TR9IDd1qlBqeUNjJ9bu8LN8PYDK8oZozd1rEkODmvFfQ4VBAQ==","signatures":[{"sig":"MEUCIQC3Bh3UXRQ8Cacxt/pWgrnSyAcTRb+WLtAciNZZlP92QwIgcOzNBki/I6eikqTd+nwwk9LTS/Xbkr/CHLp4hdBek0U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"},"validate-commit-msg":{"types":"conventional-commit-types","helpMessage":"Use `npm run commit`. The subject should complete the following sentence: 'When applied, this commit will ...''","subjectPattern":"[a-z].+","subjectPatternErrorMsg":"Subject is invalid"}},"_shasum":"b30bbd82b4d3e76d2566be9d65be0241dbf1ad6e","gitHead":"68dc0d94aeb76d6348f9af76a9174135a0871c43","scripts":{"lint":"eslint --cache src/**/*.js test/**/*.js","test":"cross-env NODE_ENV=test nyc mocha test/[^.]*.js test/**/[^.]*.js","build":"rollup -c","watch":"rollup -c --watch","commit":"git-cz","prepush":"npm test && npm run check-coverage","prebuild":"eslint --cache src/**/*.js && rimraf lib","commitmsg":"validate-commit-msg","postmerge":"npm install","precommit":"npm run lint","prepublish":"npm test","postrewrite":"npm install","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"skedify","email":"git+npm@skedify.co"},"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"_npmVersion":"4.1.2","description":"Mask bank card info from strings","directories":{},"_nodeVersion":"7.5.0","dependencies":{"luhn":"~2.1.0","multipipe":"^1.0.2"},"devDependencies":{"nyc":"^10.1.2","chai":"^3.5.0","babel":"^6.23.0","husky":"^0.13.2","mocha":"^3.2.0","eslint":"^3.17.1","rimraf":"^2.6.1","rollup":"^0.41.4","istanbul":"^0.4.5","cross-env":"^3.2.3","codecov.io":"^0.1.6","commitizen":"^2.9.6","babel-eslint":"^7.1.1","rollup-watch":"^3.2.2","semantic-release":"^6.3.2","rollup-plugin-babel":"^2.7.1","validate-commit-msg":"^2.11.1","eslint-plugin-better":"^0.1.5","rollup-plugin-eslint":"^3.0.0","babel-plugin-istanbul":"^4.0.0","eslint-plugin-filenames":"^1.1.0","cz-conventional-changelog":"^2.0.0","rollup-plugin-node-resolve":"^2.0.0","eslint-plugin-require-in-package":"^1.0.3","babel-plugin-syntax-trailing-function-commas":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/pci-dss-sanitizer-1.0.1.tgz_1488903333538_0.16503647435456514","host":"packages-18-east.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.0":{"name":"pci-dss-sanitizer","version":"2.0.0","keywords":["pci-dss","sanitize"],"author":{"url":"http://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","_id":"pci-dss-sanitizer@2.0.0","maintainers":[{"name":"call-a3","email":"adriaan.callaerts@gmail.com"},{"name":"malfaitrobin","email":"malfait.robin@gmail.com"},{"name":"skedibot","email":"adriaan+npm@skedify.co"}],"homepage":"https://github.com/skedify/pci-dss-sanitizer","bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"dist":{"shasum":"4cb1cd0fdf1c93228ec6aa9e6f1bdfad515df555","tarball":"https://registry.npmjs.org/pci-dss-sanitizer/-/pci-dss-sanitizer-2.0.0.tgz","fileCount":5,"integrity":"sha512-jqRSeWm5ziSslgFgFL/MTOzuiuudhQalCFihp08HwMDSUK7hNTYX6BXN6O+U7fzhbG5ufudGhB6LTQM28EoDkw==","signatures":[{"sig":"MEYCIQCyVjgdN5AjyzWkm+vdToQaR3FWaxrik0dVpANvl2lFJAIhAO+Fy/WlEq6qc4CyevrT9Em9WQOvIUFeFPXHGZlPTMuK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxKFcCRA9TVsSAnZWagAAwzYP/22C2zRHykvkILopO/RF\nj2hrWru3MuUcMkneoUlf9wA/dDrMsKKrqFb8RAu3SYN8KZU07nDZ+HqicIRc\nMWxkHrMsf6t8o9tzemQ8Ts3S/bLayvWF35qFFLHz9gam3kQRAtAUJ3vQRon5\nJrxHpqD/R7itTmJ6uB1viFo0UnDVpR60nLbcGgqegHpAjfo7Joi4lMydApTJ\n5dCK2i24ufWUZc8BwAN+HEDLrG7ImQM1H0PpqlnhwEDyfJdTft+yNE41VwQM\nXZ9kC7nHvgPzDcLMigxu+OtNN9gzOY+8sVgNpgKd/kkRhZKUaPT0MHM6GsB4\nUePFseJgFq/sHlYBGSk4QfYwu3j56+5nMQoUki5mev6DfJQmanG6Y3RbxZZb\noFSJc4vb84uQzXVAFOUO2iRZNriNBvFJARUpzRaZSIFsLdt+yl2+snHt1Ki7\nR5Acwwv0KLoPnG2M0YZbJzi3ZO5baRCXBazW91RaUT4s7/bv/83oy0xB177h\nWScLtVEARmZw9voNc4GsML9ylUcQie3KTJpwGgpEltOfH3HE1PErWk9Do4vy\noVlKJVxSLzrTqjsijJ+QTqzSeAW36O1/nJvKDtaFlvMCMKBn26sRdcWDM/O0\nflgg6SqWE1wodtKg5HxRI2rRhtTCcvg/yJQ3/YpUzeXqyWdCETfA9aPK0hCd\nh0Z3\r\n=qPkf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"pre-push":"npm run check-coverage","commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"npm run lint"}},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"f527b158def2eaae83f06842103dbd5ff664cb1a","scripts":{"tdd":"npm run test -- --watch","lint":"eslint --cache src/**/*.js","test":"cross-env NODE_ENV=test jest","build":"rollup -c","watch":"rollup -c --watch","commit":"git-cz","format":"npm run lint -- --fix","prebuild":"npm run lint && rimraf lib","check-coverage":"cross-env CI=true NODE_ENV=test jest --coverage","publish-coverage":"codecov","semantic-release":"semantic-release","travis-deploy-once":"travis-deploy-once"},"_npmUser":{"name":"skedibot","email":"christophe@skedify.co"},"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"_npmVersion":"6.4.1","description":"Mask bank card info from strings","directories":{},"_nodeVersion":"10.12.0","dependencies":{"luhn":"~2.1.0","multipipe":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","babel":"^6.23.0","husky":"^1.1.1","eslint":"^5.6.1","rimraf":"^2.6.2","rollup":"^0.41.4","codecov":"^3.1.0","prettier":"^1.14.3","cross-env":"^5.2.0","commitizen":"^3.0.2","babel-eslint":"^7.1.1","rollup-watch":"^3.2.2","@commitlint/cli":"^7.2.0","semantic-release":"^15.9.17","travis-deploy-once":"^5.0.9","rollup-plugin-babel":"^2.7.1","eslint-plugin-better":"^0.1.5","rollup-plugin-eslint":"^5.0.0","eslint-config-prettier":"^3.1.0","eslint-plugin-prettier":"^3.0.0","eslint-plugin-filenames":"^1.3.2","cz-conventional-changelog":"^2.1.0","rollup-plugin-node-resolve":"^2.0.0","@commitlint/config-conventional":"^7.1.2","eslint-plugin-require-in-package":"^1.0.3","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-syntax-trailing-function-commas":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/pci-dss-sanitizer_2.0.0_1539613020157_0.32465013594233394","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.1":{"name":"pci-dss-sanitizer","version":"2.0.1","keywords":["pci-dss","sanitize"],"author":{"url":"http://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","_id":"pci-dss-sanitizer@2.0.1","maintainers":[{"name":"call-a3","email":"adriaan.callaerts@gmail.com"},{"name":"malfaitrobin","email":"malfait.robin@gmail.com"},{"name":"skedibot","email":"adriaan+npm@skedify.co"}],"homepage":"https://github.com/skedify/pci-dss-sanitizer","bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"dist":{"shasum":"0dbb91454c308b128ef74dbc16d4e1b1894bef5b","tarball":"https://registry.npmjs.org/pci-dss-sanitizer/-/pci-dss-sanitizer-2.0.1.tgz","fileCount":5,"integrity":"sha512-sepUeUykk97YKLZLiIZxUb49EQ0H9h1lWwB+lib7Gczs0MHTeMy3k1fYcMYjR7SAyVC7ANR+Wo6fJncpXTnwUg==","signatures":[{"sig":"MEQCIFcM7JhooBzZg1f4RZSwLLD2yIeLP1gQ/NIpE1GtuQkeAiAF9Jb9sGIGsZOQMUmlEdbjm5ZaO66nkHq6uGYN+BKzXA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77563,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB158CRA9TVsSAnZWagAAq2sP+QCrM1SMD/QLF+lbuCFK\nqDRzwteJBWFJ+a30qUqBC9hdC6A0M3d4ku9PJlZL//RRvr3X/YM5IBBMU+M4\nwW/zclIoWnjl5uwWpZSStT1rk5Fq7iIx2A3vDeJKwCJpxU0iY49tqfsTWsRC\nhkLKmonjsf0OPuDFhRtn9yXBfz/7EJK9ySnadnikzCj+FhKRWFLMJLiV1Qn1\nqaD9mTC+o6fCV9HepBNbM0roCYyRZJI6BEoVQvSt83ljhYnqp/Q/2LmWoZyY\nEkGnSv/Ip3ceRJWwx3zcAwAVtC1Cp/6mmCKiG1JQ7N4pjZaZR28cvP8twi87\njz3yKWnMPnHo5K7/3NEu4OYf7rW4t94ZghYrbPeMyvucZcCdnFZGOUyzsEFo\nuSoLyC6k3SH8QsgwiQL7hEhPihCaRXWhnj1+1/XdgPGvh2eYZdAlQjPlq6Sg\nXmdlvgc+iRyHQEWjUqqMJR/toXamEf7AHPe/CNVz6NrJvGC1ilaUBWdF67fk\nk23zVzEUsioBQx/x+t6K6QzibFzC2FvwechX6GA7oWlemuHsA5HkXuf376/t\nGx8/D06y2WptCoEzspXkkiMdE0Un8h/5H6hDpML4tEIwA2jMgONQoJ3FzAvX\nBfPYY01Ec8CEfj+N9zxdKTTzgpDKh7D2M9RJU8aBnEkxjrq4RWXlI6+qriWg\nLrcW\r\n=gK1W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"pre-push":"npm run check-coverage","commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"npm run lint"}},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"aca7e83609b5a23a3ad3d88f86dc21afa7ba297c","scripts":{"tdd":"npm run test -- --watch","lint":"eslint --cache src/**/*.js","test":"cross-env NODE_ENV=test jest","build":"rollup -c","watch":"rollup -c --watch","commit":"git-cz","format":"npm run lint -- --fix","prebuild":"npm run lint && rimraf lib","check-coverage":"cross-env CI=true NODE_ENV=test jest --coverage","publish-coverage":"codecov","semantic-release":"semantic-release","travis-deploy-once":"travis-deploy-once"},"_npmUser":{"name":"skedibot","email":"npm@skedify.co"},"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"_npmVersion":"6.9.0","description":"Mask bank card info from strings","directories":{},"_nodeVersion":"10.16.0","dependencies":{"luhn":"~2.1.0","multipipe":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","babel":"^6.23.0","husky":"^1.1.1","eslint":"^5.6.1","rimraf":"^2.6.2","rollup":"^0.41.4","codecov":"^3.1.0","prettier":"^1.14.3","cross-env":"^5.2.0","commitizen":"^3.1.1","babel-eslint":"^7.1.1","rollup-watch":"^3.2.2","@commitlint/cli":"^7.2.0","semantic-release":"^15.13.16","travis-deploy-once":"^5.0.9","rollup-plugin-babel":"^2.7.1","eslint-plugin-better":"^0.1.5","rollup-plugin-eslint":"^5.0.0","eslint-config-prettier":"^3.1.0","eslint-plugin-prettier":"^3.0.0","eslint-plugin-filenames":"^1.3.2","cz-conventional-changelog":"^2.1.0","rollup-plugin-node-resolve":"^2.0.0","@commitlint/config-conventional":"^7.1.2","eslint-plugin-require-in-package":"^1.0.3","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-syntax-trailing-function-commas":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/pci-dss-sanitizer_2.0.1_1560764028101_0.29792565746623323","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.1.0-rc.1":{"name":"pci-dss-sanitizer","version":"2.1.0-rc.1","keywords":["pci-dss","sanitize"],"author":{"url":"https://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","_id":"pci-dss-sanitizer@2.1.0-rc.1","maintainers":[{"name":"skedibot","email":"npm@skedify.co"}],"homepage":"https://github.com/skedify/pci-dss-sanitizer","bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"dist":{"shasum":"6953f230d998f04ab0472dfa91aacb23cde5bd1f","tarball":"https://registry.npmjs.org/pci-dss-sanitizer/-/pci-dss-sanitizer-2.1.0-rc.1.tgz","fileCount":66,"integrity":"sha512-PYPyNRkd2dQJQ1nyvt0Lt8Jfn5puM9tVSMBPpSAnqVrtk5Evmc8kQNhiCUn9BG+YZj7rhHJixdbUs6QtShSe+w==","signatures":[{"sig":"MEQCIBuuSgMrwi0uVHp44RIcjeD86NnO85BaI2dfi31khK/CAiAkeFSWJpm8JJB79imkdkq48l+Pc30MNSycLz+sDzKyZw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":287609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJguIBoCRA9TVsSAnZWagAAEkgP/0jYbIaUr+peEH3codoM\nVJep15/C/2VjrnbZrTjRexBSB1psT2oNBD/qozlLBJios30P6AIfD9dGBjCb\nvgSBRYDh21bksdFsWy0rrgnVJV66d8RPHVjq2yrQj3evQPB2sadl8cTxCjyS\nvrj6p8uYoo36c7CKnK4M0brnz8klELEt3kW7bR4mDg74bt9CKK7FudmKtIYs\n77hB4caudZi+AUKieBP3FHWaJlPTZDKAa7Y8WMJBsTElJs10m8adCdfkh6lr\ncK974gVcirGkU7jXSRJlVBe2PU4DTdXZ4N8a9NA4zPVHP/E4lDEbZfE2XAE0\n6y8yHTTuMlD07/8bzkDvfvmGVe1gybMwILknpYcifPbZ0uGnqHJLbiVQl6C+\nOVPzPh8LwoPVykYHyFz9xhW23FcdrjM7wl5rHnhhQrqrqi1KsW1d8QBuvAtO\nO+4gV1/v4m5wwl9FbJfXqo6vgN7TFNKraeAuSByZNBZv8BWvZpHVcbAenj3N\n3rh9nRSX1lVTIilSiMqK6UxQqh6F7WVmEMQJYIy9o7zZJcxFSdmkklVEqU4s\n6FFRydGsJoUsNRTg1BGib0nzVOBpXviUSfWFeGH0Qm+oqezu/1BrbnMGVZbl\nU2IKKuq0kgCotUZRTCkBQ9+jWRsYsklpQIkkXstojLrP7TFRFLoDy07BUOzy\n3yx8\r\n=w0Zn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"dist/pci-dss-sanitizer-new.esm.js","readme":"# PCI-DSS Sanitizer\n\n**Release:**\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/skedify/pci-dss-sanitizer/develop/LICENSE)\n[![npm](https://img.shields.io/npm/v/pci-dss-sanitizer.svg?maxAge=2592000)](https://www.npmjs.com/package/pci-dss-sanitizer)\n[![Build Status](https://img.shields.io/travis/skedify/pci-dss-sanitizer/master.svg?maxAge=2592000)](https://travis-ci.org/skedify/pci-dss-sanitizer)\n[![Code Coverage](https://img.shields.io/codecov/c/github/skedify/pci-dss-sanitizer/master.svg?maxAge=2592000)](https://codecov.io/gh/skedify/pci-dss-sanitizer)\n\n**Development:**\n[![Build Status](https://img.shields.io/travis/skedify/pci-dss-sanitizer/develop.svg?maxAge=2592000)](https://travis-ci.org/skedify/pci-dss-sanitizer/branches)\n[![Code Coverage](https://img.shields.io/codecov/c/github/skedify/pci-dss-sanitizer/develop.svg?maxAge=2592000)](https://codecov.io/gh/skedify/pci-dss-sanitizer/branch/develop)\n[![GitHub issues](https://img.shields.io/github/issues/skedify/pci-dss-sanitizer.svg)](https://github.com/skedify/pci-dss-sanitizer/issues)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\n## Usage\n\nYou can use this synchronously\n```javascript\nimport sanitize from 'pci-dss-sanitizer';\nconst unsanitized_string = 'your string containing sensitive banking info';\nconst sanitized_string = sanitize(unsanitized_string);\n```\n\nOr you can use it as a stream _(this is actually the recommended way to use this library)_\n\n```javascript\nimport { createStream as createSanitizerStream } from 'pci-dss-sanitizer';\nconst unsanitized_stream = process.stdin;\nconst sanitized_stream = unsanitized_stream.pipe(createSanitizerStream())\nsanitized_stream.pipe(process.stdout);\n// you could also write this as a one-liner:\nprocess.stdin.pipe(createSanitizerStream()).pipe(process.stdout);\n```\n\nOr if you're more into Promises/callbacks, you could use it as an async function\n\n```javascript\nimport { async as sanitizeAsync } from 'pci-dss-sanitizer';\nconst unsanitized_string = 'your string containing sensitive banking info';\nconst sanitized_promise = sanitizeAsync(unsanitized_string, your_optional_callback_here);\nsanitized_promise.then(function(sanitized_string) {\n  ...\n});\n```\n\n## Contributing\n\n### Commits\n\nUse `npm run commit` when you want to commit a change.\n\n### Releases\n\nThis project uses [GitHub actions](https://docs.github.com/en/actions/reference) \nand [semantic-release](https://github.com/semantic-release/semantic-release) for creating releases.\n\n#### Release Candidates\n\nTo make a (temporary) release candidate, you can use the following commands:\n\n```bash\n# Create a new rc from the latest/remote develop\nnpm run release-candidate\n```\n\nor \n\n```bash\n# Create a new rc from a specific branch\nnpm run release-candidate -- feature/SKED-XXXX\n```\n\nThat command will make a new `rc` branch (locally and remotely) on which `semantic-release` is configured\nto create a new release candidate (see `.releaserc`).\n\n#### Final Releases\n\nSince `semantic-release` is currently configured to run on any `push`'es to `master`,\ncreating and merging a GitHub Pull Request into `master` will trigger a new release automatically.\n\nTypically we do this via a temporary `release/next` or `release/SKED-XXXX` branch and creating a PR via GitHub UI.\n\n### Stack\n\nThis repostiory uses [TSDX](https://tsdx.io/) for development.\n\n## Commands\n\nTSDX scaffolds your new library inside `/src`.\n\nTo run TSDX, use:\n\n```bash\nnpm start # or yarn start\n```\n\nThis builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.\n\nTo do a one-off build, use `npm run build` or `yarn build`.\n\nTo run tests, use `npm test` or `yarn test`.\n\n### Jest\n\nJest tests are set up to run with `npm test` or `yarn test`.\n\n### Bundle Analysis\n\n[`size-limit`](https://github.com/ai/size-limit) is set up to calculate the real cost of your library with `npm run size` and visualize the bundle with `npm run analyze`.\n\n### Rollup\n\nTSDX uses [Rollup](https://rollupjs.org) as a bundler and generates multiple rollup configs for various module formats and build settings. See [Optimizations](#optimizations) for details.\n\n### TypeScript\n\n`tsconfig.json` is set up to interpret `dom` and `esnext` types, as well as `react` for `jsx`. Adjust according to your needs.\n\n## Continuous Integration\n\n### GitHub Actions\n\nTwo actions are added by default:\n\n- `main` which installs deps w/ cache, lints, tests, and builds on all pushes against a Node and OS matrix\n- `size` which comments cost comparison of your library on every pull request using [`size-limit`](https://github.com/ai/size-limit)\n\n## Optimizations\n\nPlease see the main `tsdx` [optimizations docs](https://github.com/palmerhq/tsdx#optimizations). In particular, know that you can take advantage of development-only optimizations:\n\n```js\n// ./types/index.d.ts\ndeclare var __DEV__: boolean;\n\n// inside your code...\nif (__DEV__) {\n  console.log('foo');\n}\n```\n\nYou can also choose to install and use [invariant](https://github.com/palmerhq/tsdx#invariant) and [warning](https://github.com/palmerhq/tsdx#warning) functions.\n\n## Module Formats\n\nCJS, ESModules, and UMD module formats are supported.\n\nThe appropriate paths are configured in `package.json` and `dist/index.js` accordingly. Please report if any issues are found.\n\n## Named Exports\n\nPer Palmer Group guidelines, [always use named exports.](https://github.com/palmerhq/typescript#exports) Code split inside your React app instead of your React library.\n\n## Including Styles\n\nThere are many ways to ship styles, including with CSS-in-JS. TSDX has no opinion on this, configure how you like.\n\nFor vanilla CSS, you can include it at the root directory and add it to the `files` section in your `package.json`, so that it can be imported separately by your users and run through their bundler's loader.\n","engines":{"node":"16"},"gitHead":"ee7d7c3f4386cf1d73d45370e254447ae129c805","scripts":{"tdd":"npm run test -- --watch","lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","commit":"git-cz","format":"npm run lint -- --fix","analyze":"size-limit --why","prepare":"husky install && tsdx build","check-coverage":"cross-env CI=true NODE_ENV=test jest --coverage","publish-coverage":"codecov","semantic-release":"semantic-release","release-candidate":"npm_scripts/release-candidate.sh","commit:lint-message":"commitlint --edit \"$1\""},"typings":"dist/index.d.ts","_npmUser":{"name":"skedibot","email":"npm@skedify.co"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"size-limit":[{"path":"dist/pci-dss-sanitizer-new.cjs.production.min.js","limit":"10 KB"},{"path":"dist/pci-dss-sanitizer-new.esm.js","limit":"10 KB"}],"_npmVersion":"6.14.13","description":"Mask bank card info from strings","directories":{},"_nodeVersion":"14.17.0","dependencies":{"luhn":"^2.4.1","multipipe":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsdx":"^0.14.1","husky":"^6.0.0","tslib":"^2.2.0","codecov":"^3.1.0","cross-env":"^5.2.0","commitizen":"^3.1.1","size-limit":"^4.11.0","typescript":"^3.9.9","@commitlint/cli":"^7.2.0","semantic-release":"^17.4.3","travis-deploy-once":"^5.0.9","cz-conventional-changelog":"^2.1.0","@size-limit/preset-small-lib":"^4.11.0","@commitlint/config-conventional":"^7.1.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/pci-dss-sanitizer_2.1.0-rc.1_1622704232383_0.881462825293506","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.2":{"name":"pci-dss-sanitizer","version":"2.0.2","keywords":["pci-dss","sanitize"],"author":{"url":"https://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","_id":"pci-dss-sanitizer@2.0.2","maintainers":[{"name":"skedibot","email":"npm@skedify.co"}],"homepage":"https://github.com/skedify/pci-dss-sanitizer","bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"dist":{"shasum":"46a51cfe035f4bcaf7769a3927a43fb5e1fa6e5b","tarball":"https://registry.npmjs.org/pci-dss-sanitizer/-/pci-dss-sanitizer-2.0.2.tgz","fileCount":66,"integrity":"sha512-zJgys/wHQb/+8YO0lEQOPIRWLguIhrTNKUOMq1WrWzmlsh9cb80hFchColbCZ2VDD3DDMTmrzLxwcKuU5imDzg==","signatures":[{"sig":"MEUCIQDbKWEdAshgLqQh8Ck8laPrQWXIQvCMojNrN8LyALXqcAIgTzUM6L6Vjf7rK63nPi1BfWb2qsuLBrmjZT30VO3U5js=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":285798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwG5sCRA9TVsSAnZWagAAmFYP/iuCBK7PrWjuNXYftk1H\nicbnDADs7swALO6FI4Lw6wqrMBbo/hfNL2jh1NtRQZxvRtm8AS75hcK6zv40\ndnYXTIO/E5P6118OnVK+Ph2q/4m5qQMJ91CBOB3LonR/4cpE4nT0oKbIgzLY\n/DeAqwAsyPdZlwYccz3cArhnDrY/cymkxf8P1suNVMvW7qDSfpIarQPspwTU\nCAEBYNxCC9agAlvWX1lM8BlBrFDqqwbWGEGKHlAghnNLTEZn1Qba8G/4yGGD\nxJBlzp68KxMGvRrosWlqL7g46V51iZ7n0vgHbLqVfxwfkCtdIfzFR6/qhd60\nLQneu7V8OXRVJyfJMrsZb9NMVUcmg0ddVXRpUKTqIwjuW0kFMGXkJc6t+qff\nK/l12LiO1ggsTf77vuDMMOpGeh42fISK80bd5Y3vpZkiWPTDi5mOmk5G0QKj\nlbo2ojcJ9r81mVaJ/VXtbQ6NVgEsulxAt0b/sTO8clGaL6OXTx2AzOpaguuV\nhnEypf+3dDE7xeOBx8NCsl4L86pZj30HSTYn4ms5k8WLFzz/fNnL0pu+rL+X\n4FrPhHjiuFhGYJkYuStST0jg55lxVnn20fD2EQWpSSkQf9CwMmXZXY0ZW3f4\nycu5MamkdIaauPypJu9tdYKWRsm+BMPxpQ0jvXyF+GvSeJRt+/rU3LQO3ETP\nvnmf\r\n=1vDm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"dist/pci-dss-sanitizer-new.esm.js","engines":{"node":"16"},"gitHead":"9565a0123b89fc88dc194748f49fb53c7a89ee67","scripts":{"tdd":"npm run test -- --watch","lint":"tsdx lint","test":"npm run test:client && npm run test:src --","build":"tsdx build","start":"tsdx watch","commit":"git-cz","format":"npm run lint -- --fix","prepare":"husky install && tsdx build","test:src":"tsdx test","test:client":"npm_scripts/test-client.sh","check-coverage":"cross-env CI=true NODE_ENV=test jest --coverage","semantic-release":"semantic-release","release-candidate":"npm_scripts/release-candidate.sh","commit:lint-message":"commitlint --edit \"$1\""},"typings":"dist/index.d.ts","_npmUser":{"name":"skedibot","email":"npm@skedify.co"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"_npmVersion":"6.14.13","description":"Mask bank card info from strings","directories":{},"_nodeVersion":"14.17.0","dependencies":{"luhn":"^2.4.1","multipipe":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^6.0.0","tslib":"^2.2.0","cross-env":"^7.0.3","commitizen":"^4.2.4","typescript":"^4.3.2","@commitlint/cli":"^12.1.4","semantic-release":"^17.4.3","@rollup/plugin-replace":"^2.4.2","cz-conventional-changelog":"^3.3.0","@commitlint/config-conventional":"^12.1.4"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/pci-dss-sanitizer_2.0.2_1623223916182_0.07341031338188486","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2016-09-26T13:18:05.667Z","modified":"2026-01-05T10:20:40.161Z","0.0.0-semantic-release":"2016-09-26T13:18:05.667Z","0.0.1":"2016-09-26T13:18:23.623Z","0.0.2":"2016-09-30T09:13:02.483Z","0.0.3":"2016-09-30T12:06:38.562Z","0.1.0":"2017-03-07T15:54:38.798Z","1.0.0":"2017-03-07T16:00:47.611Z","1.0.1":"2017-03-07T16:15:34.230Z","2.0.0":"2018-10-15T14:17:00.338Z","2.0.1":"2019-06-17T09:33:48.213Z","2.0.0-rc.1":"2021-06-02T15:15:11.577Z","2.0.2-rc.1":"2021-06-02T16:09:38.646Z","2.1.0-rc.1":"2021-06-03T07:10:32.547Z","3.0.0-rc-feature-SKED-7660.1":"2021-06-03T09:28:16.637Z","2.0.2":"2021-06-09T07:31:56.322Z"},"bugs":{"url":"https://github.com/skedify/pci-dss-sanitizer/issues"},"author":{"url":"https://skedify.co","name":"Skedify","email":"info@skedify.co"},"license":"MIT","homepage":"https://github.com/skedify/pci-dss-sanitizer","keywords":["pci-dss","sanitize"],"repository":{"url":"git+https://github.com/skedify/pci-dss-sanitizer.git","type":"git"},"description":"Mask bank card info from strings","maintainers":[{"name":"skedibot","email":"npm@skedify.co"}],"readme":"# PCI-DSS Sanitizer\n\n**Release:**\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/skedify/pci-dss-sanitizer/develop/LICENSE)\n[![npm](https://img.shields.io/npm/v/pci-dss-sanitizer.svg?maxAge=2592000)](https://www.npmjs.com/package/pci-dss-sanitizer)\n![Build Status](https://github.com/skedify/pci-dss-sanitizer/actions/workflows/main.yml/badge.svg)\n\n**Development:**\n![Build Status](https://github.com/skedify/pci-dss-sanitizer/actions/workflows/main.yml/badge.svg?branch=develop)\n[![GitHub issues](https://img.shields.io/github/issues/skedify/pci-dss-sanitizer.svg)](https://github.com/skedify/pci-dss-sanitizer/issues)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\n## Usage\n\nYou can use this synchronously\n```javascript\nimport sanitize from 'pci-dss-sanitizer';\nconst unsanitized_string = 'your string containing sensitive banking info';\nconst sanitized_string = sanitize(unsanitized_string);\n```\n\nOr you can use it as a stream _(this is actually the recommended way to use this library)_\n\n```javascript\nimport { createStream as createSanitizerStream } from 'pci-dss-sanitizer';\nconst unsanitized_stream = process.stdin;\nconst sanitized_stream = unsanitized_stream.pipe(createSanitizerStream())\nsanitized_stream.pipe(process.stdout);\n// you could also write this as a one-liner:\nprocess.stdin.pipe(createSanitizerStream()).pipe(process.stdout);\n```\n\nOr if you're more into Promises/callbacks, you could use it as an async function\n\n```javascript\nimport { async as sanitizeAsync } from 'pci-dss-sanitizer';\nconst unsanitized_string = 'your string containing sensitive banking info';\nconst sanitized_promise = sanitizeAsync(unsanitized_string, your_optional_callback_here);\nsanitized_promise.then(function(sanitized_string) {\n  ...\n});\n```\n\n## Contributing\n\n### Commits\n\nUse `npm run commit` when you want to commit a change.\n\n### Releases\n\nThis project uses [GitHub actions](https://docs.github.com/en/actions/reference) \nand [semantic-release](https://github.com/semantic-release/semantic-release) for creating releases.\n\n#### Release Candidates\n\nTo make a (temporary) release candidate, you can use the following commands:\n\n```bash\n# Create a new rc from the latest/remote develop\nnpm run release-candidate\n```\n\nor \n\n```bash\n# Create a new rc from a specific branch\nnpm run release-candidate -- feature/SKED-XXXX\n```\n\nThat command will make a new `rc` branch (locally and remotely) on which `semantic-release` is configured\nto create a new release candidate (see `.releaserc`).\n\n#### Final Releases\n\nSince `semantic-release` is currently configured to run on any `push`'es to `master`,\ncreating and merging a GitHub Pull Request into `master` will trigger a new release automatically.\n\nTypically we do this via a temporary `release/next` or `release/SKED-XXXX` branch and creating a PR via GitHub UI.\n\n### Stack\n\nThis repostiory uses [TSDX](https://tsdx.io/) for development.\n\n## Commands\n\nTSDX scaffolds your new library inside `/src`.\n\nTo run TSDX, use:\n\n```bash\nnpm start # or yarn start\n```\n\nThis builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.\n\nTo do a one-off build, use `npm run build` or `yarn build`.\n\nTo run tests, use `npm test` or `yarn test`.\n\n### Jest\n\nJest tests are set up to run with `npm test` or `yarn test`.\n\n### Rollup\n\nTSDX uses [Rollup](https://rollupjs.org) as a bundler and generates multiple rollup configs for various module formats and build settings. See [Optimizations](#optimizations) for details.\n\n### TypeScript\n\n`tsconfig.json` is set up to interpret `dom` and `esnext` types. Adjust according to your needs.\n\n## Optimizations\n\nPlease see the main `tsdx` [optimizations docs](https://github.com/palmerhq/tsdx#optimizations). In particular, know that you can take advantage of development-only optimizations:\n\n```js\n// ./types/index.d.ts\ndeclare var __DEV__: boolean;\n\n// inside your code...\nif (__DEV__) {\n  console.log('foo');\n}\n```\n\nYou can also choose to install and use [invariant](https://github.com/palmerhq/tsdx#invariant) and [warning](https://github.com/palmerhq/tsdx#warning) functions.\n\n## Module Formats\n\nCJS, ESModules, and UMD module formats are supported.\n\nThe appropriate paths are configured in `package.json` and `dist/index.js` accordingly. Please report if any issues are found.\n","readmeFilename":"README.md"}