Skip to content

words/an-array-of-french-words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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