0.1.2 • Published 8 years ago

espect v0.1.2

Weekly downloads
5
License
ISC
Repository
github
Last release
8 years ago

ESpect


Traverses a program and statically tracks state.

Usage:

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) => {});