get-scope

0.0.4 • Public • Published

get-scope

Build Status NPM version

Install

npm install get-scope

Usage

var esprima = require('esprima')
var getScope = require('get-scope')

var ast = esprima.parse('var a = 1')

getScope.forProgram(ast) // { a: { type: 'Literal', value: 1 } }

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i get-scope

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • goatslacker