This package has been deprecated
Author message:
move to @the-/date ( https://github.com/the-labo/the/tree/master/packages/date#readme )
the-date
3.0.21 • Public • Published the-date
Date utility for the-framework
Installation
$ npm install the-date --save
Usage
'use strict'
const theDate = require('the-date')
async function tryExample () {
console.log(theDate().addHours(3).toDate())
const date = theDate('2016/10/10', {lang: 'ja'})
console.log(date.format('lll'))
}
tryExample().catch((err) => console.error(err))
API Guide
License
This software is released under the MIT License.
Links
Package Sidebar
Install
Weekly Downloads