# esprima-fb

> Facebook-specific fork of the esprima project

Latest version **15001.1001.0-dev-harmony-fb** (published 2015-07-31) · 0 weekly downloads

## Install

```sh
npm install esprima-fb
pnpm add esprima-fb
yarn add esprima-fb
bun add esprima-fb
```

Provides the commands `esparse`, `esvalidate`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 15001.1001.0-dev-harmony-fb |
| Published | 2015-07-31 |
| First published | 2013-08-16 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.4.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 141 |
| Author | Ariya Hidayat |
| Maintainers | jeffmo, zpao, gabelevi |

## Links

- npm: https://www.npmjs.com/package/esprima-fb
- Repository: http://github.com/facebook/esprima
- Homepage: https://github.com/facebook/esprima/tree/fb-harmony
- Issues: http://issues.esprima.org
- npm.io page: https://npm.io/package/esprima-fb

## Recent versions

- 15001.1001.0-dev-harmony-fb (latest) — 2015-07-31
- 15001.1.0-dev-harmony-fb — 2015-04-22
- 14001.1.0-dev-harmony-fb — 2015-04-02
- 13001.1001.0-dev-harmony-fb — 2015-03-06
- 13001.1.0-dev-harmony-fb — 2015-03-01
- 12001.1.0-dev-harmony-fb — 2015-02-10
- 11001.1.0-dev-harmony-fb — 2015-02-10
- 10001.1.0-dev-harmony-fb — 2015-01-14
- 9001.1.0-dev-harmony-fb — 2015-01-13
- 8001.2001.0-dev-harmony-fb — 2014-12-19
- 8001.1001.0-dev-harmony-fb — 2014-11-18
- 8001.1.0-dev-harmony-fb — 2014-11-15
- 7001.1.0-dev-harmony-fb — 2014-10-08
- 6001.1001.0-dev-harmony-fb — 2014-09-11
- 6001.1.0-dev-harmony-fb — 2014-09-05
- … 10 more at https://npm.io/package/esprima-fb/versions

## README

**Esprima** ([esprima.org](http://esprima.org), BSD license) is a high performance,
standard-compliant [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm)
parser written in ECMAScript (also popularly known as
[JavaScript](http://en.wikipedia.org/wiki/JavaScript>JavaScript)).
Esprima is created and maintained by [Ariya Hidayat](http://twitter.com/ariyahidayat),
with the help of [many contributors](https://github.com/ariya/esprima/contributors).

**Esprima-FB** is a fork of the [Harmony branch](https://github.com/ariya/esprima/tree/harmony) of Esprima that implements [JSX specification](https://github.com/facebook/jsx) on top of ECMAScript syntax.

### Features

- Full support for ECMAScript 5.1 ([ECMA-262](http://www.ecma-international.org/publications/standards/Ecma-262.htm))
- Experimental support for ES6/Harmony (module, class, destructuring, ...)
- Full support for [JSX syntax extensions](https://github.com/facebook/jsx).
- Sensible [syntax tree format](https://github.com/facebook/jsx/blob/master/AST.md) compatible with Mozilla
[Parser AST](https://developer.mozilla.org/en/SpiderMonkey/Parser_API)
- Optional tracking of syntax node location (index-based and line-column)
- Heavily tested (> 650 [unit tests](http://esprima.org/test/) with [full code coverage](http://esprima.org/test/coverage.html))
- 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](https://github.com/facebook/react) or [JSXDOM](https://github.com/vjeux/jsxdom)).

Esprima-FB runs on many popular web browsers, as well as other ECMAScript platforms such as
[Rhino](http://www.mozilla.org/rhino) and [Node.js](https://npmjs.org/package/esprima).

For more information on original Esprima, check the web site [esprima.org](http://esprima.org).

---
_Source: https://npm.io/package/esprima-fb · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
