idast

Walks a JavaScript AST, giving each AST node a unique and meaningful ID

node-idast

Walks a JavaScript AST (parsed by acorn), giving each AST node a unique and meaningful ID.

Documentation: node-idast on Sourcegraph