Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

esprima-fb

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esprima-fb

Facebook-specific fork of the esprima project

  • 15001.1001.0-dev-harmony-fb
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
543K
decreased by-34.29%
Maintainers
3
Weekly downloads
 
Created
Source

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

  • Full support for ECMAScript 5.1 (ECMA-262)
  • Experimental support for ES6/Harmony (module, class, destructuring, ...)
  • Full support for JSX syntax extensions.
  • Sensible syntax tree format compatible with Mozilla Parser AST
  • Optional tracking of syntax node location (index-based and line-column)
  • Heavily tested (> 650 unit tests with full code coverage)
  • Ongoing support for ES6/Harmony (module, class, destructuring, ...)

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.

FAQs

Package last updated on 31 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc