Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
an-array-of-english-words
Advanced tools
an-array-of-english-words
List of ~275,000 English words. Derived from the Letterpress word list.
npm:
npm install an-array-of-english-words
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
]
anArrayOfEnglishWords
Array.<string>
— List of all English words, lowercased.
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
FAQs
List of ~275,000 English words
The npm package an-array-of-english-words receives a total of 3,027 weekly downloads. As such, an-array-of-english-words popularity was classified as popular.
We found that an-array-of-english-words demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.