/startrek-names

Node.js module to randomly generate StarTrek character names in a site/application or use within command-line

Primary LanguageJavaScriptMIT LicenseMIT

startrek-names

Get random StarTrek names.

travis build codecov coverage version downloads Commitizen friendly MIT License

startrek-names is a Node.js module to randomly generate StarTrek character names in a site/application or use within command-line.

It also works with.

Installation

To install this package, save it as a dependency in package.json file:

npm install startrek-names --save

Require the module in your Node.js application:

var startrekChar = require('startrek-names');

To insert a random quote:

console.log(startrekChar());
// "James T. Kirk"
console.log(startrekChar());
// "Spock"

Command Line

startrek can be used in the command line.

Install the package globally using npm:

npm install startrek-names -g

To run:

$ startrek-names
James T. Kirk