JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q47072F
  • License MIT

Check if is year of Rabbit

Package Exports

  • year-of-rabbit

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (year-of-rabbit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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