superb-es
v1.3.5
Published
Get superb (spanish) like words
Downloads
22
Maintainers
Readme
superb-es
Get superb (spanish) like words.
Install
$ npm install superb-es --global
Usage
const superb = require('superb-es')
superb()
// => 'máquina'
superb()
// => 'fiera'
superb({ plural: true })
// => 'cracks'
superb.words()
// => ['máquina', 'fiera', …]
superb.words({ plural: true })
// => ['máquinas', 'fieras', …]
CLI
$ superb-es --help
Examples
$ superb-es
máquina
$ superb-es --all
crack
fiera
…
$ superb-es --all --plural
cracks
fieras
…
Options
--capitalize Capitalize the first letter of the word.
--all Get all the words instead of a random word.
--female Get a female random word.
--plural Get all the plurals words.
--prefix Add a prefix adverb before your superb word.
API
superb([options])
Get a singular random superb like word.
options
capitalize
type: boolean
default: false
Capitalize the first letter of the word.
female
type: boolean
default: false
Get a female random word.
plural
type: boolean
default: false
Get a plural random word.
superb.words([options])
type: array
Get all the singular words.
It can receive the same options than superb
.
License
superb-es © Kiko Beats, Released under the MIT License. Authored and maintained by Kiko Beats with help from contributors.
kikobeats.com · GitHub @Kiko Beats · Twitter @Kikobeats