Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pfrazee/wordgen
A random word generator
https://github.com/pfrazee/wordgen
Last synced: 14 days ago
JSON representation
A random word generator
- Host: GitHub
- URL: https://github.com/pfrazee/wordgen
- Owner: pfrazee
- License: mit
- Created: 2014-09-04T19:56:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-03T04:41:24.000Z (almost 9 years ago)
- Last Synced: 2024-03-24T03:42:07.619Z (9 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Random Word Generator
Generates a random list of words using `crypto.randomBytes` and a subset of the [New General Service List](http://www.newgeneralservicelist.org/).
```js
var wg = require('wordgen')
wg.generateWords(10, function (err, words) {
if (err) throw err
console.log(words.join(' '))
// => think certainly agree case common certainly military plan earn except
// (for example)
})
```