npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

namso-cc-gen

v1.0.0

Published

Generate random test credit card numbers for testing, validation and/or verification purposes. The Namso-Gen random test credit card entry system provides numbers are needed to test owned credit card systems and for research purposes. These numbers are no

Downloads

27

Readme

Namso-Gen

SimpleYTDL Logo

Generate random test credit card numbers for testing, validation and/or verification purposes. The Namso-Gen random test credit card entry system provides numbers are needed to test owned credit card systems and for research purposes. These numbers are not valid and do not enable transactions. The generator uses the Luhn algorithm.

HOW TO INSTALL?

npm i namso-cc-gen

Require to export function

//CommonJS
const namso = require('namso-cc-gen');

SIMPLE USAGE

usage of gen()

const namso = require('namso-cc-gen');

let res = namso.gen({
 ShowCCV: true,
 CCV: "999",
 ShowExpDate: true,
 ShowBank: false,
 Month: "01",
 Year: "2022",
 Quantity: "10",
 Bin: "5254xxxxxxxxxxxx",
 Format: "PIPE"
})
console.log(res)

Sample Sucess Response

//PIPE RESPONSE
5254460031640046|01|2022|999
5254078567780281|01|2022|999

//CSV RESPONSE
5254785172382671, 999, 01/2022
5254527764283317, 999, 01/2022

//XML RESPONSE
<xml>
<CreditCard>
<CardNumber>5254881033324265</CardNumber>
<CardCCV2>999</CardCCV2>
<CardExpDate>01/2022</CardExpDate>
</CreditCard>
<CreditCard>
<CardNumber>5254180230550511</CardNumber>
<CardCCV2>999</CardCCV2>
<CardExpDate>01/2022</CardExpDate>
</CreditCard>
</xml>

//JSON RESPONSE
{
{
"CreditCard":{
"CardNumber": "5254765208224550"
"CardCCV2": "999"
"CardExpDate": "01/2022"
}
},
{
"CreditCard":{
"CardNumber": "5254811860554320"
"CardCCV2": "999"
"CardExpDate": "01/2022"
}
}
}

All Params

Params | Is Required | Type | Explanation | Sample --- | --- | --- | --- | --- ShowCCV | yes | boolean | show ccv on results | ShowCCV: true CCV | yes | string | it can be filled up to 4 digit ccv/just type rnd to randomize | CCV: "rnd" ShowExpDate | yes | boolean | show expiration date on results | ShowExpDate: true ShowBank | yes | boolean | show bank type on results | ShowBank: false Month | yes | string | string value that ranges from 01-12 or rnd to randomize | Month: "01" Year | yes | string | string value that can be filled or randomize | Year: 'rnd' Quantity | yes | string | string value that represents the quantity/number of ccn to be generated | Quantity: "5" Bin | yes | string | string value for a BIN or Bank Identification Number has xxx | Bin: "5254xxxxxxxxxxxx" Format | yes | string | the default format is PIPE and others are CSV, XML and JSON | Format: "PIPE" rnd | optional | string | example if you want to randomize the CCV | CCV: "rnd"