Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

greeting

chrisbuttery63MIT1.0.6

Different ways to say hello.

greetings, greeting, hello, hi

readme

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