2.3.9 • Published 12 months ago

all-starwars-names v2.3.9

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months 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

12 months ago

2.3.7

12 months ago

2.3.9

12 months ago

2.1.0-beta.1

12 months ago

2.2.0-beta.1

12 months ago

2.3.0

12 months ago

2.2.0

12 months ago

2.3.2

12 months ago

2.3.1

12 months ago

2.3.4

12 months ago

2.3.3

12 months ago

2.3.6

12 months ago

2.3.5

12 months ago

2.1.0

12 months ago

2.0.0

12 months ago

1.3.0

12 months ago

1.3.2-beta.0

12 months ago

1.3.1-beta.0

12 months ago

1.3.0-beta.0

12 months ago

1.2.0

12 months ago

1.1.0

12 months ago

1.0.0

12 months ago