xdate
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/xdate package

0.8.3 • Public • Published

XDate

A Modern JavaScript Date Library (circa 2013)

[!IMPORTANT] This package is no longer actively maintained (blog post). We recommend using temporal-polyfill instead. It is written by the same author and implements the new standard for JavaScript dates.

XDate is a thin wrapper around JavaScript's native Date object and provides enhanced functionality for parsing, formatting, and manipulating dates. It implements the same methods as the native Date, so it should seem very familiar.

Also, it is non-destructive to the DOM, so it can safely be included in third party libraries without fear of side effects.

Installation:

npm install xdate
var XDate = require('xdate')
var d = new XDate()

Dependents (207)

Package Sidebar

Install

npm i xdate

Weekly Downloads

205,854

Version

0.8.3

License

(MIT OR GPL-2.0)

Unpacked Size

38.3 kB

Total Files

6

Last publish

Collaborators

  • arshaw