- Download and include nomen.min.js in the page.
-
In script,
var funkyName = generateNick();
- Use funkyName anywhere you want.
Options
generateNick(count, type, firstList, secondList)
- count - number of adjectives(prefixes) per name
- type - whether you want a slug/name/title
- adjectives - use a list of user supplied adjectives
- names - use a list of user supplied names