# isodate

> JavaScript ISO 8601 date/time parser

Latest version **0.1.4** (published 2013-01-31) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2013-01-31 |
| First published | 2011-08-26 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Paul Vorbach |
| Maintainers | pvorb |

## Links

- npm: https://www.npmjs.com/package/isodate
- Repository: https://github.com/pvorb/node-isodate
- Issues: https://github.com/pvorb/node-isodate/issues
- npm.io page: https://npm.io/package/isodate

## Recent versions

- 0.1.4 (latest) — 2013-01-31
- 0.1.3 — 2013-01-31
- 0.1.2 — 2012-12-11
- 0.1.1 — 2012-10-01
- 0.1.0 — 2012-08-28
- 0.0.3 — 2011-11-25
- 0.0.2 — 2011-09-03
- 0.0.1 — 2011-08-29
- 0.0.0 — 2011-08-26

## README

isodate
=======

enables the parsing of ISO 8601 date strings.

There's another package, iso8601
([github](//github.com/calmh/node-iso8601),
[npm](https://npmjs.org/package/iso8601)), which I'd consider before using this
package, since it doesn't change the prototype of class `Date`.

Installation
------------

    npm install isodate

or

    ender build isodate

Usage
-----

~~~ javascript
var isodate = require("isodate");

// Read a date string
var date = isodate("2011-08-20T19:39:52Z");
console.log(date);

// Write current date as ISO 8601 string.
date = new Date();
console.log(date.toISOString());
~~~

It's also possible to parse strings with timezones like in
`2011-08-20T19:44:05+01:00`.

License
-------

(MIT License)

Copyright © 2011-2013 Paul Vorbach

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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