{"_id":"shift-spidermonkey-converter","_rev":"14-3fd79491d5888ec2099499aa09acce50","name":"shift-spidermonkey-converter","description":"convert ASTs between Shift and SpiderMonkey formats","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"shift-spidermonkey-converter","version":"1.0.0","description":"convert ASTs between Shift and SpiderMonkey formats","author":{"name":"Shape Security Labs"},"homepage":"https://github.com/shapesecurity/shift-spidermonkey-converter-js","repository":{"type":"git","url":"https://github.com/shapesecurity/shift-spidermonkey-converter-js.git"},"main":"lib/index.js","files":["lib"],"scripts":{"test":"mocha --compilers js:6to5/lib/6to5/register --check-leaks --inline-diffs --ui tdd --reporter dot test","build":"6to5 --source-maps-inline --out-dir lib src"},"dependencies":{"shift-ast":"1.0.0"},"devDependencies":{"6to5":"^1.14.14","esprima":"^1.2.2","mocha":"^2.0.1"},"keywords":["Shift","AST","node","converter","SpiderMonkey","Parser","API","convert","between","spider","monkey","abstract","syntax","tree"],"bugs":{"url":"https://github.com/shapesecurity/shift-spidermonkey-converter-js/issues"},"license":"Apache-2.0","gitHead":"be6573a018428e202adcc78956ff1637404ae774","_id":"shift-spidermonkey-converter@1.0.0","_shasum":"42ecaa1aed31ab9da281ffaca0898c239f494726","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"michaelficarra","email":"npm@michael.ficarra.me"},"maintainers":[{"name":"michaelficarra","email":"npm@michael.ficarra.me"}],"dist":{"shasum":"42ecaa1aed31ab9da281ffaca0898c239f494726","tarball":"https://registry.npmjs.org/shift-spidermonkey-converter/-/shift-spidermonkey-converter-1.0.0.tgz","integrity":"sha512-8wDob81M0DVQP71COhZBO0kHpAoOOyMGGLNRNC+0paw6AOvhZdJROjBKz0OH+KRifkKfk9ezmHtiymyiB6sS0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr1DXI1aI5n8DFHtl0PtQU+YaZcoX78H/TOfVUxBWhXQIgKBWtCm9cGg74/Emu603N2XGS8TnClGikuFSvZP8oecg="}]}},"2.0.0":{"name":"shift-spidermonkey-converter","version":"2.0.0","description":"convert ASTs between Shift and SpiderMonkey formats","author":{"name":"Shape Security Labs"},"homepage":"https://github.com/shapesecurity/shift-spidermonkey-converter-js","repository":{"type":"git","url":"git+https://github.com/shapesecurity/shift-spidermonkey-converter-js.git"},"main":"dist/index.js","files":["dist"],"scripts":{"test":"mocha --compilers js:babel-register --check-leaks --inline-diffs --ui tdd --reporter dot test","build":"babel --out-dir dist src --source-maps inline"},"dependencies":{"shift-ast":"^3.1.0"},"devDependencies":{"babel-cli":"6.3.13","babel-preset-es2015":"6.3.13","babel-register":"6.3.13","esprima":"^2.7.2","mocha":"^2.4.5","shift-parser":"^4.1.3"},"keywords":["Shift","AST","node","converter","SpiderMonkey","Parser","API","convert","between","spider","monkey","abstract","syntax","tree"],"bugs":{"url":"https://github.com/shapesecurity/shift-spidermonkey-converter-js/issues"},"license":"Apache-2.0","gitHead":"8544f844e2dc0e55f800f006ff68c07b00057961","_id":"shift-spidermonkey-converter@2.0.0","_shasum":"7e949fb9b065da6633d331a291eaa6c491d851de","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"bakkot","email":"bakkot@gmail.com"},"dist":{"shasum":"7e949fb9b065da6633d331a291eaa6c491d851de","tarball":"https://registry.npmjs.org/shift-spidermonkey-converter/-/shift-spidermonkey-converter-2.0.0.tgz","integrity":"sha512-qhhxm53AkYvsKIfvVJOoeaKor4pnI/czbShz09NakbsV763nRucjDs5wU3a40syuefP+9gc8t04gtON6PoWzQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJUxafRSbCm8EIYawzSttN/PR9klEqdHgDFrUmaGzp6gIhALBoMsjqcHRocFNrYepUI7by3GRK0JyGy95jz3+Pwy8D"}]},"maintainers":[{"name":"ariya","email":"ariya.hidayat@gmail.com"},{"name":"bakkot","email":"bakkot@gmail.com"},{"name":"ikarienator","email":"ikarienator@gmail.com"},{"name":"michaelficarra","email":"npm@michael.ficarra.me"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/shift-spidermonkey-converter-2.0.0.tgz_1478382653239_0.9226576103828847"}},"2.0.1":{"name":"shift-spidermonkey-converter","version":"2.0.1","description":"convert ASTs between Shift and SpiderMonkey formats","author":{"name":"Shape Security Labs"},"homepage":"https://github.com/shapesecurity/shift-spidermonkey-converter-js","repository":{"type":"git","url":"git+https://github.com/shapesecurity/shift-spidermonkey-converter-js.git"},"main":"dist/index.js","files":["dist"],"scripts":{"test":"mocha --compilers js:babel-register --check-leaks --inline-diffs --ui tdd --reporter dot test","build":"babel --out-dir dist src --source-maps inline"},"dependencies":{"shift-ast":"^3.1.0"},"devDependencies":{"babel-cli":"6.3.13","babel-preset-es2015":"6.3.13","babel-register":"6.3.13","esprima":"^2.7.2","espurify":"^1.6.0","estraverse":"^4.2.0","everything.js":"^1.0.3","mocha":"^2.4.5","shift-parser":"^4.1.3"},"keywords":["Shift","AST","node","converter","SpiderMonkey","Parser","API","convert","between","spider","monkey","abstract","syntax","tree"],"bugs":{"url":"https://github.com/shapesecurity/shift-spidermonkey-converter-js/issues"},"license":"Apache-2.0","gitHead":"8cb6d8af6091d0145efabcd2c4998fd47c83e433","_id":"shift-spidermonkey-converter@2.0.1","_shasum":"025130a542ae27cbe93a050e92461fdaa7857f7d","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"bakkot","email":"bakkot@gmail.com"},"dist":{"shasum":"025130a542ae27cbe93a050e92461fdaa7857f7d","tarball":"https://registry.npmjs.org/shift-spidermonkey-converter/-/shift-spidermonkey-converter-2.0.1.tgz","integrity":"sha512-+8uM1ZXQsa9Wi1zj77leprsmm+HExL6kmK5d5AiHmXB+RAE4qXIe8p6L2ZwyXTPXSBp45cdzdTJGUK8BXes+wA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIUqyr7b5j9sXkdKntp/HX7Ss54rsiGu4OFuqEJqGrQwIgbGxzZULj3gpHyOn+lt/5haPmfq8fMacLSVqTy/L74T4="}]},"maintainers":[{"name":"ariya","email":"ariya.hidayat@gmail.com"},{"name":"bakkot","email":"bakkot@gmail.com"},{"name":"ikarienator","email":"ikarienator@gmail.com"},{"name":"michaelficarra","email":"npm@michael.ficarra.me"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/shift-spidermonkey-converter-2.0.1.tgz_1479799269583_0.7854721508920193"}}},"readme":"Shift-SpiderMonkey Converter\n============================\n\n\n## About\n\nThis project provides functions for converting between the\n[Shift](https://github.com/shapesecurity/shift-spec) AST format and the\n[SpiderMonkey Parser API](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Parser_API)\nAST format.\n\n\n## Status\n\n[Stable](http://nodejs.org/api/documentation.html#documentation_stability_index).\n\n\n## Installation\n\n```sh\nnpm install shift-spidermonkey-converter\n```\n\n\n## Usage\n\n```js\nimport * as convert from \"shift-spidermonkey-converter\"\n\nconvert.toSpiderMonkey(/* a Shift format AST */)\nconvert.toShift(/* a SpiderMonkey format AST */)\n```\n\n\n## Contributing\n\n* Open a Github issue with a description of your desired change. If one exists already, leave a message stating that you are working on it with the date you expect it to be complete.\n* Fork this repo, and clone the forked repo.\n* Install dependencies with `npm install`.\n* Build and test in your environment with `npm run build && npm test`.\n* Create a feature branch. Make your changes. Add tests.\n* Build and test in your environment with `npm run build && npm test`.\n* Make a commit that includes the text \"fixes #*XX*\" where *XX* is the Github issue.\n* Open a Pull Request on Github.\n\n\n## License\n\n    Copyright 2014 Shape Security, Inc.\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","maintainers":[{"email":"npm@shapesecurity.com","name":"shapesecurity"},{"email":"bakkot@gmail.com","name":"bakkot"},{"email":"npm@michael.ficarra.me","name":"michaelficarra"}],"time":{"modified":"2022-06-26T18:51:37.182Z","created":"2014-12-16T00:44:02.784Z","1.0.0":"2014-12-16T00:44:02.784Z","2.0.0":"2016-11-05T21:50:55.196Z","2.0.1":"2016-11-22T07:21:11.312Z"},"homepage":"https://github.com/shapesecurity/shift-spidermonkey-converter-js","keywords":["Shift","AST","node","converter","SpiderMonkey","Parser","API","convert","between","spider","monkey","abstract","syntax","tree"],"repository":{"type":"git","url":"git+https://github.com/shapesecurity/shift-spidermonkey-converter-js.git"},"author":{"name":"Shape Security Labs"},"bugs":{"url":"https://github.com/shapesecurity/shift-spidermonkey-converter-js/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}