rnd
Random string generator
Last updated 8 years ago by kazmer .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install rnd 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.10                                ...           latest (8 years ago)

13 Versions

  • 1.0.10                                ...           8 years ago
  • 1.0.9                                ...           8 years ago
  • 1.0.8                                ...           8 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                                ...           9 years ago
  • 0.0.1-security                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE