# xdate

> A Modern JavaScript Date Library

Latest version **0.8.3** (published 2024-07-31) · (MIT OR GPL-2.0) license · 0 weekly downloads

## Install

```sh
npm install xdate
pnpm add xdate
yarn add xdate
bun add xdate
```

## Health

**Score 18/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.8.3 |
| Published | 2024-07-31 |
| First published | 2012-02-13 |
| Weekly downloads | 0 |
| License | (MIT OR GPL-2.0) |
| TypeScript types | separate (@types/xdate) |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 37.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 679 |
| Author | Adam Shaw |
| Maintainers | arshaw |

## Links

- npm: https://www.npmjs.com/package/xdate
- Repository: https://github.com/arshaw/xdate
- Homepage: http://arshaw.com/xdate/
- Issues: https://github.com/arshaw/xdate/issues
- npm.io page: https://npm.io/package/xdate

## Recent versions

- 0.8.3 (latest) — 2024-07-31
- 0.8.2 — 2017-04-28
- 0.8.0 — 2013-03-31
- 0.7.0 — 2012-10-30
- 0.6.0 — 2012-02-13

## README

XDate
=====

A Modern JavaScript Date Library (circa 2013)

> [!IMPORTANT]
> This package is no longer actively maintained
> ([blog post](https://arshaw.com/2013/03/xdate-08-and-future-development)).
> We recommend using [temporal-polyfill](https://www.npmjs.com/package/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](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/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
```

```js
var XDate = require('xdate')
var d = new XDate()
```

---
_Source: https://npm.io/package/xdate · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
