https://github.com/colingourlay/node-wordo
A collection of words, broken down by classification
https://github.com/colingourlay/node-wordo
Last synced: 2 months ago
JSON representation
A collection of words, broken down by classification
- Host: GitHub
- URL: https://github.com/colingourlay/node-wordo
- Owner: colingourlay
- License: other
- Created: 2013-06-06T14:37:40.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-02T13:10:09.000Z (over 11 years ago)
- Last Synced: 2025-03-02T19:38:41.397Z (3 months ago)
- Language: JavaScript
- Size: 189 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wordo
A collection of words, broken down by classification
[](https://nodei.co/npm/wordo/)
## 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](https://npmjs.org) 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
[](https://bitdeli.com/free "Bitdeli Badge")