Neutral Political Machine

    year-of-rat

    1.0.2 • Public • Published

    year-of-rat Build Status

    Check if is year of Rat

    Install

    $ npm install --save year-of-rat
    

    Usage

     
    const yearOfRat = require('year-of-rat');
     
    yearOfRat(1984);
    // true
     
    yearOfRat(1985);
    // false
     
     

    API

    yearOfRat([year])

    year

    Type: number
    Default: current year

    yearOfRat([date])

    date

    Type: date
    Default: new Date()

    License

    MIT © haotian Chang

    Install

    npm i year-of-rat

    DownloadsWeekly Downloads

    2

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • cht8687