greeting

Different ways to say hello.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
greeting
1.0.68 years ago9 years agoMinified + gzip package size for greeting in KB

Readme

greeting
!NPM versionnpm-imagenpm-url !build statustravis-imagetravis-url !Test coveragecoveralls-imagecoveralls-url !js-standard-stylestandard-imagestandard-url
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