1.2.0 • Published 7 years ago

an-array-of-portuguese-words v1.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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