Skip to content
/ espect Public

Statically traverses a nodejs program and tracks state

Notifications You must be signed in to change notification settings

coder13/espect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Statically traverses a nodejs program and tracks state

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published