wareki
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

wareki

CircleCI Coverage Status

Installation

$ npm install wareki

Usage

import wareki from 'wareki'
 
wareki('1989-01-07')
// -> 昭和64
wareki('1989-01-08')
// -> 平成元
wareki('2018-08-01', { unit: true })
// -> 平成30年
wareki('2019-05-01')
// -> 令和元

Readme

Keywords

none

Package Sidebar

Install

npm i wareki

Weekly Downloads

4,125

Version

1.0.0

License

MIT

Unpacked Size

4.94 kB

Total Files

5

Last publish

Collaborators

  • tohashi