greeting

1.0.6 • Public • Published

greeting

NPM version build status Test coverage js-standard-style

Different ways to say hello.

Install

$ npm i --save greeting

Usage

import greeting from 'greeting'
 
greeting.random()
//> Hello
 
greeting.all
//> ["'Allo", "'Allo 'Allo", "Aye oop", ... ]

CLI

$ npm -i -g greeting
$ greeting --help
 
  Examples
    $ greeting
    Howdy
 
    $ greeting --all
    Hello
    Hi
    ...
 
  Options
    --all   Get all greetings instead of a random greeting

Inspired by sindresorhus

License

MIT © Chris Buttery

/greeting/

    Package Sidebar

    Install

    npm i greeting

    Weekly Downloads

    25

    Version

    1.0.6

    License

    MIT

    Last publish

    Collaborators

    • chrisbuttery