Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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);
```