an-array-of-portuguese-words
v1.2.0
Published
An array of ~180,000 Portuguese words. Works in node and browsers.
Downloads
3
Readme
an-array-of-portuguese-words
An array of ~180,00 English words derived from internet. Works with node and browserify.
Inspired / Fork from [an-array-of-english-words])https://github.com/zeke/an-array-of-english-words)
Programmatic Usage
To use the module in Javascript code, install it locally:
npm install an-array-of-portuguese-words --save
Then:
var words = require("an-array-of-portuguese-words")
var funWords = words.filter(function(w) { return !!w.match(/^fun/i) })
console.log(funWords)
Command Line Usage
There's a CLI that prints all words to STDOUT. Install it globally:
npm i -g an-array-of-portuguese-words
palavra | grep queijo