1.0.1 • Published 7 years ago

babel-monther v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

Babel-monther

Babel-monther allowed you to use short notation for declaring list of months in array

Install

$ npm install --save-dev babel-monther

Usage

.babelrc

{
  "plugins": ["babel-monther"]
}

.js

const MONTHS = ['months-full']; => ['January', 'February', ...]
const MONTHS_SHORT = ['months-short']; => ['Jan', 'Feb', ...]