Neurotic and Probably Misinformed
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

fiction-word

1.0.2 • Public • Published

Description

Fiction Word is a simple js word generator. It is a simple tool to create random English-like words. A friend of mine, who is a linguist and a novelest told me that the most tedious part of making up a language is creating the vocabulary—while some of the words are derived from combinations and derivations of other words, both the roots of those derivative words and many other unique words must simply be made up. He asked, if he gave me the rules of what constitutes a word, if I could make a script to generate random words. “Fiction Word” is a prototype of that idea.

Documentation

Installation & Usage

Install with npm: npm install fiction-word

Once installed, require 'fiction-word' and use the 'wordGen' function to create random words.

const fiction = require('fiction-word');
 
console.log('Random word: ' + fiction.wordGen());
console.log('Random 5-letter word: ' + fiction.wordGen(5));

Install

npm i fiction-word

DownloadsWeekly Downloads

3

Version

1.0.2

License

ISC

Unpacked Size

8.05 kB

Total Files

3

Last publish

Collaborators

  • avatar