</>PackageGraphPackageGraph

acorn-loose

npmv8.5.2TypeScript

Error-tolerant ECMAScript parser

Adopt with care

acorn-loose is usable, with caveats. Last published 435 days ago. 3 releases in the last 2 years.

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

    No download data reported for this package yet.

  • CMaintenance: grade C, Fair — worth a look.

    Last published 435 days ago. 3 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 671 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-loose to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

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

671 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing acorn-loose, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=0.4.0
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the acorn-loose README.

javascriptFull README ↗
var acornLoose = require("acorn-loose");
console.log(acornLoose.parse("1 / * 4 )[2]", {ecmaVersion: 2020}));

Dependencies

Declared by acorn-loose v8.5.2. Runtime dependencies are installed with the package; dev dependencies are not.

Runtime (1)

Used by

Popular packages that depend on acorn-loose.

Relationship graph

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

acornreact-server-dom-…acorn-loose
acorn-loose dependencies dependents

Frequently installed together

Release history

3 releases in the last two years, typically about 106 days apart.

Recent versions of acorn-loose
VersionPublishedSizeLicense
8.5.2latest1 year ago119 KBMIT
8.5.11 year ago119 KBMIT
8.5.01 year ago118 KBMIT
8.4.02 years ago115 KBMIT
8.3.04 years ago111 KBMIT
8.2.15 years ago110 KBMIT
8.2.05 years ago110 KBMIT
8.1.05 years ago109 KBMIT
8.0.25 years ago319 KBMIT
8.0.15 years ago318 KBMIT
8.0.06 years ago299 KBMIT
7.1.06 years ago298 KBMIT
7.0.07 years ago295 KBMIT
6.1.07 years ago295 KBMIT
6.0.08 years ago295 KBMIT

Overview

acorn-loose is an npm package that error-tolerant ECMAScript parser. It has 1 known dependents in the graph. The latest version is 8.5.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need error-tolerant ECMAScript parser and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Lean dependency tree (1 direct dependencies).

Cons

  • No significant drawbacks detected from available metadata.

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

Maintainers

Frequently asked questions

Should I use acorn-loose?

acorn-loose is usable, with caveats. Last published 435 days ago. 3 releases in the last 2 years.

How do I install acorn-loose?

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

How many dependencies does acorn-loose have?

acorn-loose declares 1 direct dependency and pulls in 1 packages in total once its runtime tree is resolved totalling about 671 KB on disk.

What license is acorn-loose released under?

acorn-loose is distributed under the MIT license.

How popular is acorn-loose?

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

Is acorn-loose still maintained?

The most recent release of acorn-loose (v8.5.2) was published 1 year ago.

Does acorn-loose run install scripts?

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