Neverending Pun Machine

    hour-to-chinese-zodiac

    1.0.0 • Public • Published

    hour-to-chinese-zodiac

    Commitizen friendly XO code style

    NPM version Build Status Coveralls Status Dependency Status DevDependency Status

    Convert hour to chinese zodiac name: 8 → 'dragon'

    Demo: vovanr.github.io/hour-to-chinese-zodiac

    Install

    npm install --save hour-to-chinese-zodiac

    Usage

    var hourToChineseZodiac = require('hour-to-chinese-zodiac');
    
    hourToChineseZodiac(8);
    //=> 'dragon'
    
    hourToChineseZodiac(3);
    //=> 'tiger'
    
    hourToChineseZodiac();
    //=> ''

    License

    MIT © Vladimir Rodkin

    Install

    npm i hour-to-chinese-zodiac

    DownloadsWeekly Downloads

    11

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    6.58 kB

    Total Files

    5

    Last publish

    Collaborators

    • vovanr