{"_id":"@credit-card-stuffs/ccgen","_rev":"2-7aa860e6065c430dae40b037d9eb99c7","name":"@credit-card-stuffs/ccgen","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.1":{"name":"@credit-card-stuffs/ccgen","version":"0.0.1","description":"Lightweight, fast and full featured library for credit card generation.","main":"dist/index.js","scripts":{"build":"tsc","test":""},"keywords":["ccgen","ccs"],"author":{"name":"Gabriel"},"license":"GPL-3.0-only","devDependencies":{"typescript":"^5.4.5","vitest":"^1.6.0"},"_id":"@credit-card-stuffs/ccgen@0.0.1","gitHead":"5ced1300aa57e29a373eb54942028b58a0c361ac","types":"./dist/index.d.ts","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-KYHcH+YXnXB4Q/y+mUVJRofzPkvS/o32K0A+F3c2+oRPtU2dSCQ33gStU/1sXK8Vzrebmm0Cn+BT996ItnEeLA==","shasum":"8610e3300698f13647a209968af1031b03a58897","tarball":"https://registry.npmjs.org/@credit-card-stuffs/ccgen/-/ccgen-0.0.1.tgz","fileCount":9,"unpackedSize":36463,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLKBo905xNZZmVGyrDv3bi3xxDTt6APBck/KVsuFNTkQIhAMIHx//yiVriTeiiD+CRcxjWT5ux7ze2nfhPbgnv7IUW"}]},"_npmUser":{"name":"0x41337","email":"041337@proton.me"},"directories":{},"maintainers":[{"name":"0x41337","email":"041337@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ccgen_0.0.1_1715905271195_0.3093128919612014"},"_hasShrinkwrap":false},"0.1.0":{"name":"@credit-card-stuffs/ccgen","version":"0.1.0","description":"Lightweight, fast and full featured library for credit card generation.","main":"dist/index.js","repository":{"url":"git+https://github.com/credit-card-stuffs/ccgen.git"},"scripts":{"build":"tsc"},"keywords":["ccgen","ccs"],"author":{"name":"Gabriel"},"license":"GPL-3.0-only","devDependencies":{"tsx":"^4.10.5","typescript":"^5.4.5"},"dependencies":{"@credit-card-stuffs/luhn":"^2.0.0"},"_id":"@credit-card-stuffs/ccgen@0.1.0","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/credit-card-stuffs/ccgen/issues"},"homepage":"https://github.com/credit-card-stuffs/ccgen#readme","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-lhX+6N3SeXwyLdtQM23CSlMoeit/6x9j03iWB+nPkFbErYjJ2MKa1snvTCSefDepzvMcwaqxNSNHHTdT1Dfk8A==","shasum":"2fad1b52a0f875ff81fc11468b746e456d144ee0","tarball":"https://registry.npmjs.org/@credit-card-stuffs/ccgen/-/ccgen-0.1.0.tgz","fileCount":11,"unpackedSize":45249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8pffxAZFZZpXncw2ViGcbJwWfblF43MXSqIYno+GxVwIgRYzGAIp/GVdlZQlFbq5WTCywIEzl+47mWPnELUj2xlg="}]},"_npmUser":{"name":"0x41337","email":"041337@proton.me"},"directories":{},"maintainers":[{"name":"0x41337","email":"041337@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ccgen_0.1.0_1716159707225_0.8070817833909105"},"_hasShrinkwrap":false},"0.1.1":{"name":"@credit-card-stuffs/ccgen","version":"0.1.1","description":"Lightweight, fast and full featured library for credit card generation.","main":"dist/index.js","repository":{"url":"git+https://github.com/credit-card-stuffs/ccgen.git"},"scripts":{"build":"tsc"},"keywords":["ccgen","ccs"],"author":{"name":"Gabriel"},"license":"GPL-3.0-only","devDependencies":{"tsx":"^4.10.5","typescript":"^5.4.5"},"dependencies":{"@credit-card-stuffs/luhn":"^2.0.0"},"_id":"@credit-card-stuffs/ccgen@0.1.1","gitHead":"8564a7f7e6ad34d455e1078599f2f03e1d6ff41b","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/credit-card-stuffs/ccgen/issues"},"homepage":"https://github.com/credit-card-stuffs/ccgen#readme","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-tg+lXGdmXKcj9gRDqMAsbDXS+gPLDHRV51hE2o4/xd3i7RnLamBhEiMidZJhY/bEoptgpyvCMCQRCHu6hrzsXQ==","shasum":"2ec89c828d6741ecee55772d881f931f53d01a05","tarball":"https://registry.npmjs.org/@credit-card-stuffs/ccgen/-/ccgen-0.1.1.tgz","fileCount":11,"unpackedSize":44790,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYsYgGxUzTSZSckm9gYbG0ozlAWzSvFXy8whm0VaxOdgIhALiB/SOVXJSY+g7f/s8OuoLH5z2zlhQSfwAPy+pEbSIh"}]},"_npmUser":{"name":"0x41337","email":"041337@proton.me"},"directories":{},"maintainers":[{"name":"0x41337","email":"041337@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ccgen_0.1.1_1716225409743_0.9335130921517816"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-17T00:21:11.130Z","0.0.1":"2024-05-17T00:21:11.385Z","modified":"2024-05-20T17:16:50.059Z","0.1.0":"2024-05-19T23:01:47.419Z","0.1.1":"2024-05-20T17:16:49.883Z"},"maintainers":[{"name":"0x41337","email":"041337@proton.me"}],"description":"Lightweight, fast and full featured library for credit card generation.","keywords":["ccgen","ccs"],"author":{"name":"Gabriel"},"license":"GPL-3.0-only","readme":"### Credit Card Generator\n\nA lightweight typescript library that uses the fast and lightweight [Luhn implementation](https://github.com/credit-card-stuffs/luhn) to generate valid credit cards.\n\n### Overview\n\nBelow is an overview of the package.\n\n### Install\n\nPackage can be installed using npm cli\n\n```\nnpm i @credit-card-stuffs/ccgen\n```\n\n### Import\n\nYou can import like any other npm package\n\n```ts\nimport ccgen from \"@credit-card-stuffs/ccgen\"\n```\n\n### Basic\n\nYou control the data generated through masks and everything can be customized in the generator options.\n\n```ts\nconst cards = ccgen(\n    {\n        generation: {\n            masks: {\n                targets: {\n                    number: {\n                        mask: \"4xxxxxxxxxxxxxxx\",\n                    },\n                    cvv: {\n                        mask: \"xxx\",\n                    },\n                },\n            },\n            date: {\n                month: {\n                    generate: true,\n                },\n                year: {\n                    generate: true,\n                },\n            },\n        },\n    },\n    5\n)\nconsole.log(cards)\n// [\n//      {\n//          metadata: { brand: \"visa\" },\n//          expiration: { month: \"02\", year: \"2024\" },\n//          identifier: { number: \"4638862591704015\", cvv: \"365\" }\n//      },\n//      ...\n// ]\n```\n\nIn this example of use, we are generating 5 credit cards that start with the number 4.","readmeFilename":"README.md","homepage":"https://github.com/credit-card-stuffs/ccgen#readme","repository":{"url":"git+https://github.com/credit-card-stuffs/ccgen.git"},"bugs":{"url":"https://github.com/credit-card-stuffs/ccgen/issues"}}