2.3.9 • Published 1 year ago

all-starwars-names v2.3.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

all-starwars-names

Build Status Codecov NPM Downloads NPM Version GitHub License

A simple npm library that provides a collection of all Star Wars character names and the ability to generate a random unique Star Wars name.

Installation

To install the all-starwars-names library, use the following command:

npm install all-starwars-names

Usage

  1. Get all Star Wars names:

    const { all } = require('all-starwars-names');
    console.log(all);

    This will return an array of all the Star Wars character names.

  2. Get a random unique Star Wars name:

    const { random } = require('all-starwars-names');
    console.log(random());

    This will return a single, unique Star Wars character name.

API

The all-starwars-names library provides the following API:

  1. all:

    • Description: Returns an array of all the Star Wars character names.
    • Usage: const { all } = require('all-starwars-names'); console.log(all);
  2. random():

    • Description: Returns a single, unique Star Wars character name.
    • Usage: const { random } = require('all-starwars-names'); console.log(random());

Contributing

If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the MIT License.

2.3.8

1 year ago

2.3.7

1 year ago

2.3.9

1 year ago

2.1.0-beta.1

1 year ago

2.2.0-beta.1

1 year ago

2.3.0

1 year ago

2.2.0

1 year ago

2.3.2

1 year ago

2.3.1

1 year ago

2.3.4

1 year ago

2.3.3

1 year ago

2.3.6

1 year ago

2.3.5

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.3.0

1 year ago

1.3.2-beta.0

1 year ago

1.3.1-beta.0

1 year ago

1.3.0-beta.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago