npm.io
1.0.5 • Published 8 years ago

english-word-list

Licence
ISC
Version
1.0.5
Deps
0
Size
54 kB
Vulns
0
Weekly
0

english-word-list

1000 most common english words.
Returns as an array of strings.

Also on NPM

Installation

$ npm install english-word-list

Usage

var wordList = require('english-word-list')

let myArray = wordList.amount(20)
//an array of 20 strings
let secondArray = wordList.range(3,5)
//an array where all the strings have between 3 and 5 characters

Return words with:

  • minLength (x)
  • maxLength (x)

Can also be between x and y characters

  • range(x, y)

To request a certain amount of words:

  • amount(x)

Coming soon:

  • More words

Keywords