Never Patronize Mothers

    year-of-rabbit

    1.0.7 • Public • Published

    year-of-rabbit Build Status

    Check if is year of Rabbit

    Install

    $ npm install --save year-of-rabbit
    

    Usage

     
    const yearOfRabbit = require('year-of-rabbit');
     
    yearOfRabbit(1987);
    // true
     
    yearOfRabbit(1988);
    // false
     
     

    API

    yearOfRabbit([year])

    year

    Type: number
    Default: current year

    yearOfRabbit([date])

    date

    Type: date
    Default: new Date()

    License

    MIT © haotian Chang

    Install

    npm i year-of-rabbit

    DownloadsWeekly Downloads

    2

    Version

    1.0.7

    License

    MIT

    Last publish

    Collaborators

    • cht8687