Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lauragift21/starwars-agents
Get random starwars name
https://github.com/lauragift21/starwars-agents
commitizen nodejs npm-package nyc travis-ci
Last synced: about 4 hours ago
JSON representation
Get random starwars name
- Host: GitHub
- URL: https://github.com/lauragift21/starwars-agents
- Owner: lauragift21
- License: mit
- Created: 2018-04-11T15:27:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T09:07:15.000Z (over 6 years ago)
- Last Synced: 2024-11-06T19:15:54.803Z (13 days ago)
- Topics: commitizen, nodejs, npm-package, nyc, travis-ci
- Language: JavaScript
- Size: 212 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# starwars-agent
[![Travis](https://img.shields.io/travis/lauragift21/starwars-agents.svg?style=flat-square)](https://travis-ci.org/lauragift21/starwars-agents)
[![Codecov coverage](https://img.shields.io/codecov/c/github/lauragift21/starwars-agents.svg)](https://codecov.io/gh/lauragift21/starwars-agents)
[![version](https://img.shields.io/npm/v/starwars-agents.svg?style=flat-square)](https://www.npmjs.com/package/starwars-agents)
![downloads](https://img.shields.io/npm/dw/starwars-agents.svg?style=flat-square)
![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)Get list of starwars charaters names or randomly get the names.
## Installation
This package is distrubuted via npm
`npm install starwars-agents`
## Usage
```js
var names = require('starwars-agents');
var allNames = names.all;
var randomNames = names.random();
var threeRandomNames = names.random(3);
```