npm.io
0.2.1 • Published 7 years ago

kyushu-haikunator

Licence
MIT
Version
0.2.1
Deps
1
Size
20 kB
Vulns
0
Weekly
0
Stars
3

Kyushu Haikunator

Generate Heroku-like random names to use in your applications.
Random names will be select from location names of Kyushu Japan.

powered by HaikunatorJS

import KyushuHaikunator from 'kyushu-haikunator'

const kh = new KyushuHaikunator()

// default usage
kh.haikunate()
'romantic-saga-1992'

// custom length (default=4)
kh.haikunate({tokenLength: 6})
'gentle-moji-012345'

// use hex instead of numbers
kh.haikunate({tokenHex: true})
'dark-tenjin-ff13'

see also HaikunatorJS

Keywords