1.2.0 • Published 7 years ago

random-starwars-names v1.2.0

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
7 years ago

Random Star Wars names

NPM Build Status

Get a random Star Wars name.

This npm package is made to learn how to create an npm package.

It's based on the video tutorial and the repository of Kent C. Dodds.

Install

npm install random-starwars-names

Setup

var randomStarwarsNames = require('random-starwars-names')

List all Star Wars names

randomStarwarsNames.all;

Get a random Star Wars name

randomStarwarsNames.random();

Get an array of random Star Wars names

Note: example below would return 5 random Star Wars names.

randomStarwarsNames.random(5);

Run unit tests (one off)

npm test

Continuously run unit tests while developing

npm run test-watch

Create npm package

Learn how to create an npm package.

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago