Miss any of our Open RFC calls?Watch the recordings here! »

superb-es

1.3.3 • Public • Published

superb-es


superb-es

Last version Build Status Coverage Status Dependency status Dev Dependencies Status NPM Status Donate

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

Install

npm i superb-es

DownloadsWeekly Downloads

2

Version

1.3.3

License

MIT

Unpacked Size

15.2 kB

Total Files

9

Last publish

Collaborators

  • avatar