# espect

> Traverses a program and statically tracks state

Latest version **0.1.2** (published 2015-11-15) · ISC license · 0 weekly downloads

## Install

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

## 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.1.2 |
| Published | 2015-11-15 |
| First published | 2015-10-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 4.x |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Caleb Hoover |
| Maintainers | choover |

## Links

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

## Dependencies (6)

- [chalk](https://npm.io/package/chalk.md) ^1.1.1
- [escope](https://npm.io/package/escope.md) ^3.2.0
- [espree](https://npm.io/package/espree.md) ^2.2.5
- [lodash](https://npm.io/package/lodash.md) ^3.10.1
- [resolve](https://npm.io/package/resolve.md) ^1.1.6
- [escodegen](https://npm.io/package/escodegen.md) ^1.7.0

## Recent versions

- 0.1.2 (latest) — 2015-11-15
- 0.1.1 — 2015-11-13
- 0.1.0 — 2015-11-13
- 1.0.0 — 2015-10-16

## README

# ESpect

------

Traverses a program and statically tracks state. 

### Usage:

```js
const traverse = require('espect').traverse;

const code = String(fs.readFileSync(filePath));
const options = {
    recursive: true // If true, will parse reqiured files
}

// scope - current ESScope for the node.
// node  - an ast node.
traverse(code, options, filePath, (scope, node) => {});
```

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