2.0.3 • Published 6 years ago

nom-de-guerre v2.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

nom-de-guerre

a simple random naming module. more fun than numbered ID's sometimes.

Usage

var nomDeGuerre = require('nom-de-guerre');

nomDeGuerre() // -> will output random place in Québec

Methods

nomDeGuerre()

returns a random city name from Québec

nomDeGuerre.createCensus()

returns a census function that will output unique names. It will only output the city name once, until all cities are exhausted.

Example:

const nomDeGuerre = require('nom-de-guerre');
const census = nomDeGuerre.createCensus();

census(); // -> 'Montreal'
census(); // -> 'Pointe-Claire'

Installation

npm install nom-de-guerre
// or
yarn add nom-de-guerre

License

MIT

2.0.3

6 years ago

2.0.2

6 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.2

9 years ago

0.0.1

9 years ago