JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q45854F
  • License MIT

Get a random greeting

Package Exports

  • greetings

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (greetings) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Greetings! Build Status

Get a random greeting

Install

$ npm install --save greetings

Usage

var greetings = require('greetings');

console.log(greetings.random);
// 'Good day'

console.log(greetings)
// ['Hey', 'Hello', 'Hi', 'Howdy', 'Bonjour', 'Good day', ...]

CLI

$ npm install --global greetings
$ greetings --help

  Usage
    $ greetings [input]

  Example
    $ greetings
    Hello

    $ greetings --all
    Hello
    Howdy

  Options
    --all  Get all greetings instead of a random

License

MIT © alonalon