0.0.2 • Published 11 years ago

wordo v0.0.2

Weekly downloads
3
License
-
Repository
-
Last release
11 years ago

wordo

A collection of words, broken down by classification

Example

var wordo = require('wordo');
var _ = require('lodash');

var colouredAnimals = _.flatten(
    _.map(wordo.adjectives.colour, function (colour) {
        return _.map(wordo.nouns.animals, function (animal) {
            return colour + ' ' + animal;
        });
    })
);

console.log(colouredAnimals[0]); // "beige aardvark"

Install

With npm do:

npm install wordo

Limitations

So far only contains a list of adjectives and nouns. Nouns are only divided into animals and other at this stage.

license

MIT

0.0.2

11 years ago

0.0.1

11 years ago