# isodate-traverse

> Traverse an object and convert all ISO strings into Dates.

Latest version **0.3.2** (published 2014-04-01) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.3.2 |
| Published | 2014-04-01 |
| First published | 2013-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Maintainers | segmentio |
| Keywords | ISO, date, datestring, parse, object, convert |

## Links

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

## Dependencies (3)

- [is](https://npm.io/package/is.md) ianstormtaylor/is#0.1.1
- [isodate](https://npm.io/package/isodate.md) segmentio/isodate#0.0.1
- [each-component](https://npm.io/package/each-component.md) segmentio/each#0.1.1

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.3.2 (latest) — 2014-04-01
- 0.3.1 — 2014-02-10
- 0.2.0 — 2013-12-13
- 0.1.0 — 2013-11-18

## README

# isodate-traverse

> **Note**  
> Segment has paused maintenance on this project, but may return it to an active status in the future. Issues and pull requests from external contributors are not being considered, although internal contributions may appear from time to time. The project remains available under its open source license for anyone to use.

[![CircleCI](https://circleci.com/gh/segmentio/isodate-traverse.svg?style=shield&circle-token=b57033c1550ba25dffa360fc7e11a3f82e0f9781)](https://circleci.com/gh/segmentio/isodate-traverse)
[![Codecov](https://img.shields.io/codecov/c/github/segmentio/isodate-traverse/master.svg?maxAge=2592000)](https://codecov.io/gh/segmentio/isodate-traverse)

Traverse an object (or array) and convert all ISO strings into Dates.

## Installation

```sh
$ npm install @segment/isodate-traverse
```

## Example

```js
var traverse = require('@segment/isodate-traverse');

var obj = {
  date: '2013-09-04T00:57:26.434Z'
};

var traversed = traverse(obj);
// {
//   date: [object Date]
// }
```

## API

### traverse(obj, [strict])

Traverse an `obj`, converting all ISO strings to real Dates. By default, `strict` mode will be enabled, requiring at least YYYY-MM-DD

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