1.0.10 • Published 7 years ago

rnd v1.0.10

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

A random string generator. Supports several different modes of operation for different flavors of text.

Useful for generating initial, placeholder, or missing data in forms, games, fiction, etc.

API

const rnd = require('rnd');

rnd.realName();
// 'Takuya Kusatsu'
// A "real"-looking name that could pass for something in a work of fiction.

rnd.fakeName({gender: 'female'});
// 'Polyth'
// A "fake"-looking name whose only property is that it should be reasonably pronounceable.

rnd.lastName();
// 'Asporix'
// A "last"-looking name suitable as a pronounceable surname.

rnd.noun();
// 'binocle'
rnd.verb();
// 'atomising'
rnd.adjective();
// 'pyrrhic'
rnd.adverb();
// 'kinetically'
// Self-explanatory, chosen from an included dictionary. Good when used in combination.
1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

0.0.1-security

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.0

10 years ago