# escontrol

> Generate ECMAScript 5 (and hopefully 6, soon) control flow graphs. Really rough working state right now.

Latest version **6.1.3** (published 2016-04-05) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 6.1.3 |
| Published | 2016-04-05 |
| First published | 2014-10-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chris Dickinson |
| Maintainers | chrisdickinson |

## Links

- npm: https://www.npmjs.com/package/escontrol
- npm.io page: https://npm.io/package/escontrol

## Dependencies (3)

- [inherits](https://npm.io/package/inherits.md) ^2.0.1
- [estraverse](https://npm.io/package/estraverse.md) ^1.9.3
- [simplify-dag](https://npm.io/package/simplify-dag.md) ^2.0.1

## Recent versions

- 6.1.3 (latest) — 2016-04-05
- 6.1.1 (next) — 2015-09-26
- 6.1.2 — 2016-04-05
- 6.1.0 — 2015-09-04
- 6.0.0 — 2015-07-30
- 5.0.0 — 2015-05-03
- 4.0.0 — 2015-04-30
- 3.0.5 — 2015-04-09
- 3.0.4 — 2015-03-23
- 3.0.3 — 2015-03-20
- 3.0.2 — 2015-03-20
- 3.0.1 — 2015-03-20
- 3.0.0 — 2015-03-20
- 2.0.0 — 2015-03-19
- 1.0.0 — 2014-10-04

## README

# escontrol

Generate ECMAScript 5 (and hopefully 6, soon) control flow graphs. Really
rough working state right now.

```
var escontrol = require('escontrol')
var esprima = require('esprima')

var ast = esprima.parse('<some code>')
var cfg = escontrol(ast)

while(cfg.advance()) ;

// get all edges!
var edges = cfg.edges()
```

## API

Hoo-boy. This is in a rough state at the moment.

Check out the `examples` directory for some usage.

## License

MIT

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