Nectar of the Programming Masses

    year-of-sheep

    1.0.6 • Public • Published

    year-of-sheep Build Status

    Check if is year of Sheep

    Install

    $ npm install --save year-of-sheep
    

    Usage

     
    const yearOfSheep = require('year-of-sheep');
     
    yearOfSheep(1991);
    // true
     
    yearOfSheep(1992);
    // false
     
     

    API

    yearOfSheep([year])

    year

    Type: number
    Default: current year

    yearOfSheep([date])

    date

    Type: date
    Default: new Date()

    License

    MIT © haotian Chang

    Install

    npm i year-of-sheep

    DownloadsWeekly Downloads

    0

    Version

    1.0.6

    License

    MIT

    Last publish

    Collaborators

    • cht8687