Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including esprima-fb with all npm packages installed. Try it out:

var esprimaFb = require("esprima-fb")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

esprima-fb v15001.1001.0-dev-harmony-fb

Facebook-specific fork of the esprima project

Esprima (esprima.org, BSD license) is a high performance, standard-compliant ECMAScript parser written in ECMAScript (also popularly known as JavaScript). Esprima is created and maintained by Ariya Hidayat, with the help of many contributors.

Esprima-FB is a fork of the Harmony branch of Esprima that implements JSX specification on top of ECMAScript syntax.

Features

Versioning rules

In order to follow semver rules and keep reference to original Esprima versions at the same time, we left 3 digits of each version part to refer to upstream harmony branch. We then take the most significant digit.

Example: 4001.3001.0000-dev-harmony-fb aligns with 1.1.0-dev-harmony (aka 001.001.000-dev-harmony) in upstream, with our own changes on top.

Esprima-FB serves as a building block for JSX language tools and transpiler implementations (such as React or JSXDOM).

Esprima-FB runs on many popular web browsers, as well as other ECMAScript platforms such as Rhino and Node.js.

For more information on original Esprima, check the web site esprima.org.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free