norwegian-readable-id-generator
v1.0.1
Published
Creates a random sentence in norwegian in the format: adjective-noun-verb
Downloads
25
Maintainers
Readme
Overview
Lightweight library to create random norwegian word sequences in the format: adjective-noun-verb
.
Possible combinations: 2 377 452.
This package was originally created for generating readable prefixes for ecommerce order ids. This package is NOT enough to ensure uniqueness.
Getting Started
npm install --save norwegian-readable-id-generator
TypeScript
norwegian-readable-id-generator comes with types file
Example
import { generateWord } from 'norwegian-readable-id-generator'
const word = generateWord()
console.log(word)
// ekkel-blod-sparer
const { generateWord } = 'norwegian-readable-id-generator'
const word = generateWord()
console.log(word)
// fryktelig-bild-gjetter
License
ISC