Skip to content

sterpe/japanese-name-generator

Repository files navigation

japanese-name-generator

Japanese Name Generator

js-standard-style

installation

npm install --save japanese-name-generator

usage

var generate = require('japanese-name-generator')

var japanesePerson = generate()

japanesePerson.gender // 'female'
japanesePerson.name // 'Matsushima Rinako'
japanesePerson.surname // 'Matsushima'
japanesePerson.firstName // 'Rinako'

// Gender is random but you may, alternately, generate names of a
// specific gender by passing `options.gender' as either 
// `male' or `female':

var japaneseMale = generate({ gender: 'male' })
var japaneseFemale = generate({ gender: 'female' })

cli

$ npm install -g japanese-name-generator
$ japanese-name-generator -g female
Matsushima Rinako

tests

Run the unit tests with make.

make test

license

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published