プロジェクト
概要
List of ~275,000 English words
学習・教育計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルan-array-of-english-words
List of ~275,000 English words. Derived from the Letterpress word list.
Install
npm:
npm install an-array-of-english-words
Use
var words = require('an-array-of-english-words')
console.log(words.filter(d => /fun/.test(d)))
Yields:
[
'antifungal',
'antifungals',
'bifunctional',
'cofunction',
'cofunctions',
// …and many more
]
API
anArrayOfEnglishWords
Array.<string> — List of all English words, lowercased.
CLI
Install the CLI globally:
npm i -g an-array-of-english-words
Now run words to print all the words to stdout:
words
Use grep to filter by pattern:
words | grep cheese
Use egrep to filter with regular expressions:
words | egrep '^fun' # start with 'fun'
words | egrep 'ification$' # end with 'ification'
words | egrep 'ou?r$' # end in 'or' or 'our'
Use wc to find out how many monkey words there are:
words | grep monkey | wc -l
Ten random ten-letter words (note: on macOS, do brew install coreutils to get
gshuf):
$ words | egrep '^.{10}$' | gshuf | head -10
Related
License
関連プロジェクトを探す
読み込み中…