</>PackageGraphPackageGraph

acorn-jsx

npmv5.3.2

Modern, fast React.js JSX parser

Not recommended for new projects

No — acorn-jsx should not be adopted for new projects. Last published 1889 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1889 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 24 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 3 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding acorn-jsx to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

24 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the acorn-jsx README.

javascriptFull README ↗
var acorn = require("acorn");
var jsx = require("acorn-jsx");
acorn.Parser.extend(jsx()).parse("my(<jsx/>, 'code');");

Dependencies

Declared by acorn-jsx v5.3.2. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on acorn-jsx.

Relationship graph

Dependencies (left) and dependents (right) of acorn-jsx.

acorn@sveltejs/acorn-t…espreeacorn-jsx
acorn-jsx dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 67 days apart.

Recent versions of acorn-jsx
VersionPublishedSizeLicense
5.3.2latest5 years ago24 KBMIT
5.3.16 years ago24 KBMIT
5.3.06 years ago24 KBMIT
5.2.06 years ago24 KBMIT
5.1.07 years ago23 KBMIT
5.0.27 years ago22 KBMIT
5.0.17 years ago22 KBMIT
5.0.08 years ago22 KBMIT
4.1.18 years agoMIT
4.1.08 years agoMIT
4.0.19 years agoMIT
4.0.09 years agoMIT
3.0.110 years agoMIT
3.0.010 years agoMIT
2.0.111 years agoMIT

Overview

acorn-jsx is an npm package that modern, fast React.js JSX parser. It has 2 known dependents in the graph. The latest version is 5.3.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need modern, fast React.js JSX parser and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).
  • Lean dependency tree (2 direct dependencies).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use acorn-jsx?

No — acorn-jsx should not be adopted for new projects. Last published 1889 days ago.

How do I install acorn-jsx?

Run `npm install acorn-jsx` to add acorn-jsx to your npm project.

What license is acorn-jsx released under?

acorn-jsx is distributed under the MIT license.

How popular is acorn-jsx?

npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on acorn-jsx.

Is acorn-jsx still maintained?

The most recent release of acorn-jsx (v5.3.2) was published 5 years ago.

Does acorn-jsx run install scripts?

No. acorn-jsx does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.