Skip to content

Instantly share code, notes, and snippets.

@ariya
Last active Aug 29, 2015
Embed
What would you like to do?
ES5 and ES6 parser

es5parser requires esprima 1.x and exports as es5parser.

es6parser requires esprima 2.x and exports as es6parser.

es7parser requires esprima-fb 7.x and exports as es7parser.

esparser requires all es5parser and es6parser and es7parser, switches the parser based on the language option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment