{"_id":"lexical-scope","_rev":"81080","name":"lexical-scope","description":"detect global and local lexical identifiers from javascript source code","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"time":{"modified":"2021-06-03T10:25:53.000Z","created":"2013-02-17T05:00:56.498Z","1.2.0":"2015-09-18T19:19:57.119Z","1.1.1":"2015-04-25T20:24:30.787Z","1.1.0":"2014-03-18T23:05:00.078Z","1.0.0":"2014-03-05T01:38:13.337Z","0.1.0":"2014-02-01T06:36:50.322Z","0.0.15":"2013-12-20T01:36:47.159Z","0.0.14":"2013-06-23T07:54:24.199Z","0.0.13":"2013-06-05T18:52:15.259Z","0.0.12":"2013-05-31T12:09:25.925Z","0.0.11":"2013-05-21T08:53:25.677Z","0.0.10":"2013-03-31T18:54:33.624Z","0.0.9":"2013-03-30T19:18:59.189Z","0.0.8":"2013-03-30T18:59:57.351Z","0.0.7":"2013-03-30T07:54:45.661Z","0.0.6":"2013-03-02T10:38:52.883Z","0.0.5":"2013-03-02T06:03:16.637Z","0.0.3":"2013-02-20T23:01:24.491Z","0.0.1":"2013-02-18T05:14:00.703Z","0.0.0":"2013-02-17T05:00:56.498Z"},"users":{"ruchirgodura":true,"zeusdeux":true,"stringparser":true},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"versions":{"1.2.0":{"name":"lexical-scope","version":"1.2.0","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"^2.0.0"},"devDependencies":{"tape":"~2.4.1","brfs":"~0.0.3"},"scripts":{"test":"tape test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"c761d2cb7e5f47bbde920cafd5dcf3ba6fac4b87","bugs":{"url":"https://github.com/substack/lexical-scope/issues"},"_id":"lexical-scope@1.2.0","_shasum":"fcea5edc704a4b3a8796cdca419c3a0afaf22df4","_from":".","_npmVersion":"3.3.2","_nodeVersion":"2.4.0","_npmUser":{"name":"substack","email":"substack@gmail.com"},"dist":{"shasum":"fcea5edc704a4b3a8796cdca419c3a0afaf22df4","size":39314,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-1.2.0.tgz"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1442603997119,"_cnpm_publish_time":1442603997119,"_hasShrinkwrap":false},"1.1.1":{"name":"lexical-scope","version":"1.1.1","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"^2.0.0"},"devDependencies":{"tape":"~2.4.1","brfs":"~0.0.3"},"scripts":{"test":"tape test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"7abd191fa106a99e4827f27a95defb5c60fbe6c5","bugs":{"url":"https://github.com/substack/lexical-scope/issues"},"_id":"lexical-scope@1.1.1","_shasum":"debac1067435f1359d90fcfd9e94bcb2ee47b2bf","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.3","_npmUser":{"name":"substack","email":"substack@gmail.com"},"dist":{"shasum":"debac1067435f1359d90fcfd9e94bcb2ee47b2bf","size":39166,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-1.1.1.tgz"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1429993470787,"_cnpm_publish_time":1429993470787,"_hasShrinkwrap":false},"1.1.0":{"name":"lexical-scope","version":"1.1.0","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~1.1.0"},"devDependencies":{"tape":"~2.4.1","brfs":"~0.0.3"},"scripts":{"test":"tape test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","bugs":{"url":"https://github.com/substack/lexical-scope/issues"},"_id":"lexical-scope@1.1.0","dist":{"shasum":"899f36c4ec9c5af19736361aae290a6ef2af0800","size":39383,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-1.1.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1395183900078,"_cnpm_publish_time":1395183900078,"_hasShrinkwrap":false},"1.0.0":{"name":"lexical-scope","version":"1.0.0","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~1.0.0"},"devDependencies":{"tape":"~2.4.1","brfs":"~0.0.3"},"scripts":{"test":"tape test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","bugs":{"url":"https://github.com/substack/lexical-scope/issues"},"_id":"lexical-scope@1.0.0","dist":{"shasum":"60faead88ac3c98e311627ed76b606faff48365c","size":39387,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1393983493337,"_cnpm_publish_time":1393983493337,"_hasShrinkwrap":false},"0.1.0":{"name":"lexical-scope","version":"0.1.0","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~0.1.0"},"devDependencies":{"tape":"~2.4.1","brfs":"~0.0.3"},"scripts":{"test":"tape test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","bugs":{"url":"https://github.com/substack/lexical-scope/issues"},"_id":"lexical-scope@0.1.0","dist":{"shasum":"8f30004c80234ffac083b990079d7b267e18441b","size":38795,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1391236610322,"_cnpm_publish_time":1391236610322,"_hasShrinkwrap":false},"0.0.15":{"name":"lexical-scope","version":"0.0.15","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~0.0.0"},"devDependencies":{"tap":"~0.4.0","tape":"~0.3.3","brfs":"~0.0.3"},"scripts":{"test":"tap test/*.js"},"testling":{"preprocess":"./test/testling.sh","html":"test/temp/test.html","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","bugs":{"url":"https://github.com/substack/lexical-scope/issues"},"_id":"lexical-scope@0.0.15","dist":{"shasum":"ca595997aaed87b155cb041f48dc0438f48a04dc","size":75855,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.15.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.15.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1387503407159,"_cnpm_publish_time":1387503407159,"_hasShrinkwrap":false},"0.0.14":{"name":"lexical-scope","version":"0.0.14","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","browserify":{"transform":["brfs"]},"dependencies":{"astw":"~0.0.0"},"devDependencies":{"tap":"~0.4.0","tape":"~0.3.3","brfs":"~0.0.3"},"scripts":{"test":"tap test/*.js"},"testling":{"preprocess":"./test/testling.sh","html":"test/temp/test.html","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","bugs":{"url":"https://github.com/substack/lexical-scope/issues"},"_id":"lexical-scope@0.0.14","dist":{"shasum":"d7e3e88c7b0607c64036529d1df6c5bf0d7b2021","size":75876,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.14.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.14.tgz"},"_from":".","_npmVersion":"1.3.0","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1371974064199,"_cnpm_publish_time":1371974064199,"_hasShrinkwrap":false},"0.0.13":{"name":"lexical-scope","version":"0.0.13","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~0.0.0"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2","browserify":"~2.10.2","brfs":"~0.0.3"},"scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.13","dist":{"shasum":"331095e38a936b3dddc993dc871bf7cbea818382","size":38631,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.13.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.13.tgz"},"_npmVersion":"1.1.71","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1370458335259,"_cnpm_publish_time":1370458335259,"_hasShrinkwrap":false},"0.0.12":{"name":"lexical-scope","version":"0.0.12","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~0.0.0"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2","browserify":"~2.10.2","brfs":"~0.0.3"},"scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.12","dist":{"shasum":"bd6ac00814445411d88a96307a42978c2d2fae80","size":38453,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.12.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1370002165925,"_cnpm_publish_time":1370002165925,"_hasShrinkwrap":false},"0.0.11":{"name":"lexical-scope","version":"0.0.11","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~0.0.0"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2","browserify":"~2.10.2","brfs":"~0.0.3"},"scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.11","dist":{"shasum":"8d7188eaa900f73ff60957b8a781a86524a9d862","size":38373,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.11.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1369126405677,"_cnpm_publish_time":1369126405677,"_hasShrinkwrap":false},"0.0.10":{"name":"lexical-scope","version":"0.0.10","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~0.0.0"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2","browserify":"~2.10.2","brfs":"~0.0.3"},"scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.10","dist":{"shasum":"d797c9d556012cef79878ccad426522846c9fe86","size":38189,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.10.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1364756073624,"_cnpm_publish_time":1364756073624,"_hasShrinkwrap":false},"0.0.9":{"name":"lexical-scope","version":"0.0.9","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~0.0.0"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2","browserify":"~2.10.2","brfs":"~0.0.3"},"scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.9","dist":{"shasum":"ec8b1c236f429013a6b1dbd5236eb4aaa35c9f0e","size":38064,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.9.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1364671139189,"_cnpm_publish_time":1364671139189,"_hasShrinkwrap":false},"0.0.8":{"name":"lexical-scope","version":"0.0.8","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~0.0.0"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2","browserify":"~2.10.2","brfs":"~0.0.3"},"scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.8","dist":{"shasum":"48ad70631443077348f18c99d516d1acc6646b3d","size":37942,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.8.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1364669997351,"_cnpm_publish_time":1364669997351,"_hasShrinkwrap":false},"0.0.7":{"name":"lexical-scope","version":"0.0.7","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~0.0.0"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2","brfs":"~2.10.2"},"scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.7","dist":{"shasum":"8ebb9938d0cc1f6fea0cd09bdf11e2fe7ac1872f","size":37962,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.7.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1364630085661,"_cnpm_publish_time":1364630085661,"_hasShrinkwrap":false},"0.0.6":{"name":"lexical-scope","version":"0.0.6","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"astw":"~0.0.0"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2"},"scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.6","dist":{"shasum":"467406afbc6d90e4dbb5edd560c414ea06ea7570","size":37736,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.6.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1362220732883,"_cnpm_publish_time":1362220732883,"_hasShrinkwrap":false},"0.0.5":{"name":"lexical-scope","version":"0.0.5","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"esprima":"1.0.2"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2"},"scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.5","dist":{"shasum":"8f3cba9b6b440b472c7b6419d70d4e349811e49a","size":37876,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.5.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1362204196637,"_cnpm_publish_time":1362204196637,"_hasShrinkwrap":false},"0.0.3":{"name":"lexical-scope","version":"0.0.3","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"falafel":"~0.1.4"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2"},"scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.3","dist":{"shasum":"d4eacfa11f7b07b8cdd6009c868eb38d0856caf4","size":3866,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.3.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1361401284491,"_cnpm_publish_time":1361401284491,"_hasShrinkwrap":false},"0.0.1":{"name":"lexical-scope","version":"0.0.1","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"falafel":"~0.1.4"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2"},"scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/6","ie/7","ie/8","ie/9","ie/10","chrome/20","chrome/latest","firefox/10","firefox/15","firefox/latest","safari/latest","opera/11.0","opera/latest"]},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.1","dist":{"shasum":"4ac9f2a544f9f400954aab0e77ba9001b8210498","size":3555,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1361164440703,"_cnpm_publish_time":1361164440703,"_hasShrinkwrap":false},"0.0.0":{"name":"lexical-scope","version":"0.0.0","description":"detect global and local lexical identifiers from javascript source code","main":"index.js","dependencies":{"falafel":"~0.1.4"},"devDependencies":{"tap":"~0.4.0","tape":"~0.2.2"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/lexical-scope.git"},"homepage":"https://github.com/substack/lexical-scope","keywords":["ast","variable","name","lexical","local","global","implicit","exported"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","readmeFilename":"readme.markdown","_id":"lexical-scope@0.0.0","dist":{"shasum":"ccda68f3cc85c874ad886bf63dd9c59932e951f9","size":3079,"noattachment":false,"key":"/lexical-scope/-/lexical-scope-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lexical-scope/download/lexical-scope-0.0.0.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":""},{"name":"zertosh","email":""}],"directories":{},"publish_time":1361077256498,"_cnpm_publish_time":1361077256498,"_hasShrinkwrap":false}},"readme":"# lexical-scope\n\ndetect global and local lexical identifiers from javascript source code\n\n[![browser support](http://ci.testling.com/substack/lexical-scope.png)](http://ci.testling.com/substack/lexical-scope)\n\n[![build status](https://secure.travis-ci.org/substack/lexical-scope.png)](http://travis-ci.org/substack/lexical-scope)\n\n# example\n\n``` js\nvar detect = require('lexical-scope');\nvar fs = require('fs');\nvar src = fs.readFileSync(__dirname + '/src.js');\n\nvar scope = detect(src);\nconsole.log(JSON.stringify(scope,null,2));\n```\n\ninput:\n\n```\nvar x = 5;\nvar y = 3, z = 2;\n\nw.foo();\nw = 2;\n\nRAWR=444;\nRAWR.foo();\n\nBLARG=3;\n\nfoo(function () {\n    var BAR = 3;\n    process.nextTick(function (ZZZZZZZZZZZZ) {\n        console.log('beep boop');\n        var xyz = 4;\n        x += 10;\n        x.zzzzzz;\n        ZZZ=6;\n    });\n    function doom () {\n    }\n    ZZZ.foo();\n\n});\n\nconsole.log(xyz);\n```\n\noutput:\n\n```\n$ node example/detect.js\n{\n  \"locals\": {\n    \"\": [\n      \"x\",\n      \"y\",\n      \"z\"\n    ],\n    \"body.7.expression.body.7.arguments.0\": [\n      \"BAR\",\n      \"doom\"\n    ],\n    \"body.7.expression.body.7.arguments.0.body.body.1.expression.body.1.arguments.0\": [\n      \"xyz\",\n      \"ZZZZZZZZZZZZ\"\n    ],\n    \"body.7.expression.body.7.arguments.0.body.body.2\": []\n  },\n  \"globals\": {\n    \"implicit\": [\n      \"w\",\n      \"foo\",\n      \"process\",\n      \"console\",\n      \"xyz\"\n    ],\n    \"implicitProperties\": {\n      \"w\": [\n        \"foo\"\n      ],\n      \"foo\": [\n        \"()\"\n      ],\n      \"process\": [\n        \"nextTick\"\n      ],\n      \"console\": [\n        \"log\"\n      ],\n      \"xyz\": [\n        \"*\"\n      ]\n    },\n    \"exported\": [\n      \"w\",\n      \"RAWR\",\n      \"BLARG\",\n      \"ZZZ\"\n    ]\n  }\n}\n```\n\n# live demo\n\nIf you are using a modern browser, you can go to http://lexical-scope.forbeslindesay.co.uk/ for a live demo.\n\n# methods\n\n``` js\nvar detect = require('lexical-scope')\n```\n\n## var scope = detect(src)\n\nReturn a `scope` structure from a javascript source string `src`.\n\n`scope.locals` maps scope name keys to an array of local variable names declared\nwith `var`. The key name `''` refers to the top-level scope.\n\n`scope.globals.implicit` contains the global variable names that are expected to\nalready exist in the environment by the script.\n\n`scope.globals.explicit` contains the global variable names that are exported by\nthe script.\n\n`scope.globals.implicitProperties` contains the properties of global variable\nnames that have been used. There are two special implicit property names:\n\n* `\"()\"` - when an implicit variable has been called\n* `\"*\"` - when an implicit variable has been used in a context that is not a\nproperty and not a call\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install lexical-scope\n```\n\n# license\n\nMIT\n","_attachments":{},"homepage":"https://github.com/substack/lexical-scope","bugs":{"url":"https://github.com/substack/lexical-scope/issues"},"license":"MIT"}