1.1.1 • Published 1 month ago

micro-haikunator v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Node.js Package

Micro Haikunator

A word list free version of tiny-haikunator

Usage

import haikunate from 'micro-haikunator'

haikunate({nouns: ['snowflake'], adjectives: ['rough']) // rough-snowflake-256

Advanced Usage

All objects and functions are available for you to extend however you need, configuration is passed into the haikunate function. The configuration values are shown individually below.

import haikunate, {randomNumber, toChars} from 'micro-haikunator'

haikunate({nouns: ['car'], adjectives: ['spicy'], maxValue: 100}) // spicy-car-37
haikunate({nouns: ['mountain'], adjectives: ['blue'], useChars: true) // blue-mountain-a87

randomNumber(1) // 0
toChars(37) // bb
toChars(37, 'na') // ananna

Development

To install test dependencies use npm i, test with npm run test

1.1.1

1 month ago

1.1.0

1 month ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago