believable
v2.0.0
Published
generate believable data like emails and passwords
Downloads
4
Maintainers
Readme
Believable
Generate believable, reproducible data like usernames, full names, emails, and passwords.
Why?
For testing and anywhere you might want to input dummy data.
Installation
$ npm install believable
Data sources
- Wordlist gist mirror
- Passwords
- Email domains
- Star Wars names derived from starwars-names
- Names come from 1990 US census data collected here: treyhunner/name
Usage
const { Believable } = require('believable');
const believable = new Believable(seed);
console.log(believable.fullName());
console.log(believable.firstName());
console.log(believable.email());
API Methods
believable.fullName()
: Shanell Nisbetbelievable.firstName()
: Elliebelievable.lastName()
: Colemanbelievable.character()
: dbelievable.separator()
: .believable.starWarsName()
: Biggs Solobelievable.username()
: shellieWacker68believable.password()
: helena99believable.birthYear()
: 1957believable.birthYearShort()
: 44believable.birthDate()
: Wed Oct 01 1975 17:21:31 GMT-0400 (Eastern Daylight Time)believable.hostname()
: ntlworld.combelievable.randomPassword()
: t?TdQm8QtVWbelievable.passphrase()
: octal.hirable.zebroidbelievable.commonPassword()
: 1664believable.credentials()
: [email protected]:cloud9believable.word()
: grammarbelievable.email()
: [email protected]
Contributions
If you have ideas on other data to include, feel free to submit a PR. There is a low barrier to entry for contributions; as long as you don't include massive dependencies or compromise determism then have at it.