Skip to content

Instantly share code, notes, and snippets.

@ariya
Last active August 29, 2015 14:15
Show Gist options
  • Save ariya/0d465b26113981c4eef1 to your computer and use it in GitHub Desktop.
Save ariya/0d465b26113981c4eef1 to your computer and use it in GitHub Desktop.
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