$ npm install an-array-of-french-wordsan-array-of-french-wordsList of ~336,000 French words. Derived from the Letterpress word list.
npm:
npm install an-array-of-french-words
var words = require('an-array-of-french-words')
console.log(words.filter(d => /mots/.test(d)))
Yields:
[
'guillemots',
'marmots',
'mots',
'mots-clés',
'mots-croisiste',
// …and more
]
anArrayOfFrenchWordsArray.<string> — List of all French words, lowercased.
Install the CLI globally:
npm i -g an-array-of-french-words
Now run mots (or an-array-of-french-words) to print all words:
mots
See an-array-of-english-words for more CLI examples.