1.0.9 • Published 16 days ago

snake-names v1.0.9

Weekly downloads
10
License
MIT
Repository
github
Last release
16 days ago

snake-names npm

travisci codecov code style: prettier

Get popular snake names. Certified Lit 🔥🔥 Accepting PRs for additional names.

  • An npm package to return a list of popular snake names.

Table of Contents

Installing / Getting started

A quick introduction of the minimal setup you need to get a up & running.

$ npm install snake-names

OR

$ yarn add snake-names

Usage

Here's a brief intro about what a developer must do in order to start developing the project further:

ES5:

const snakeNames = require('snake-names');

snakeNames.random();
//=> 'Albert'

React or ES6:

import snakeNames from "snake-names";

snakeNames.random();
//=> 'Albert'

CLI

$ npm install --global snake-names

OR

$ yarn global add snake-names
$ snake-names --help

  Get popular snake names

  Usage
    $ snake-names

  Options
    --all   Get all the names instead of a random name
    --type  Type of name  [Default: all]  [Values: female, male, all]

  Examples
    $ snake-names
    Albert
    $ snake-names --all --type male
    Adrian
    Igor
    …

API

MethodTypeDescription
.allarrayList all popular snake names
.malearrayList all popular male snake names
.femalearrayList all popular female snake names
.cutearrayList all cute snake names
.uniquearrayList all unique snake names
.famousarrayList all famous snake names
.random(n)string/arrayreturns a random snake name if no param is provided. Otherwise, returns an array of random snake names of length n.

Contributors

contributors

License

MIT © Murshid Azher.

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago