Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abetomo/node-reiwa
今年は令和何年ですか? What year of Reiwa is this?
https://github.com/abetomo/node-reiwa
nodejs reiwa
Last synced: 18 days ago
JSON representation
今年は令和何年ですか? What year of Reiwa is this?
- Host: GitHub
- URL: https://github.com/abetomo/node-reiwa
- Owner: abetomo
- License: mit
- Created: 2019-04-01T03:15:38.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T03:50:06.000Z (7 months ago)
- Last Synced: 2024-05-01T13:37:47.247Z (7 months ago)
- Topics: nodejs, reiwa
- Language: TypeScript
- Homepage:
- Size: 717 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-reiwa
[![npm version](https://badge.fury.io/js/node-reiwa.svg)](https://badge.fury.io/js/node-reiwa)
今年は令和何年ですか?
What year of Reiwa is this?
## install
```
% npm install node-reiwa
```## example
```typescript
import reiwa from 'node-reiwa'
console.log(reiwa(new Date('2019-05-01')))
// 1console.log(reiwa(new Date('2019-04-01')))
// null
```