@frekyll/star-names

1.1.1 • Public • Published

star-names Build Status

Get names of the brightest stars in the sky

Photo by Jeremy Bishop on Unsplash

Install

$ npm install @frekyll/star-names

Usage

var starNames = require('@frekyll/star-names')

starNames.random()
//=> 'Mizar'

API

.all

Type: array

50 brightest star names in alphabetical order

.random()

Type: function

Random star name

CLI

$ npm install --global @frekyll/star-names
$ star-names --help

  Examples
    $ star-names
    Mizar
    $ star-names --all
    Achernar
    Acrux
    …
  Options
    --all  Get all names instead of a random name

Related

License

MIT © Frekyll

/@frekyll/star-names/

    Package Sidebar

    Install

    npm i @frekyll/star-names

    Weekly Downloads

    4

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    4.25 kB

    Total Files

    6

    Last publish

    Collaborators

    • frekyll