# traverjs

> synchronous traversal

Latest version **0.0.7** (published 2017-02-11) · GPL-2.0 license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2017-02-11 |
| First published | 2015-11-06 |
| Weekly downloads | 0 |
| License | GPL-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | mbusenitz |
| Maintainers | mucbuc |

## Links

- npm: https://www.npmjs.com/package/traverjs
- Repository: https://github.com/mucbuc/traverjs
- Homepage: https://github.com/mucbuc/traverjs#readme
- Issues: https://github.com/mucbuc/traverjs/issues
- npm.io page: https://npm.io/package/traverjs

## Recent versions

- 0.0.7 (latest) — 2017-02-11
- 0.0.6 — 2016-01-26
- 0.0.5 — 2015-11-30
- 0.0.4 — 2015-11-30
- 0.0.3 — 2015-11-07
- 0.0.2 — 2015-11-07
- 0.0.1 — 2015-11-06

## README

## array example: 
```  
traverjs( ['hello', 'whale' ], (element, next) => {
  console.log( element );
  next();
})
.then( () => {
  console.log( 'done' );
});
```
=>
```
hello
whale
done
```


## object example: 
```
traverjs( { "hello": "whale" }, (element, next) => {
  console.log( element );
  next();
})
.then( () => {
  console.log( 'done' );
});
```
=>
```
{ hello: 'whale' }
done
```

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