/an-array-of-french-words

List of ~336,000 French words

Primary LanguageJavaScriptMIT LicenseMIT

an-array-of-french-words

Build Downloads Size

List of ~336,000 French words. Derived from the Letterpress word list.

Install

npm:

npm install an-array-of-french-words

Use

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
]

API

anArrayOfFrenchWords

Array.<string> — List of all French words, lowercased.

CLI

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.

Related

License

MIT © Zeke Sikelianos