greeting

Different ways to say hello.


Keywords
greetings, greeting, hello, hi
License
MIT
Install
npm install greeting@1.0.6

Documentation

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

See also: Parting

Inspired by sindresorhus

License

MIT © Chris Buttery