acorn-loose
npmv8.5.2TypeScriptError-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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
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.
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.
Frequently installed together
React is a JavaScript library for building user interfaces.
React package for working with the DOM.
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Neo-Async is a drop-in replacement for Async, it almost fully covers its functionality and runs faster
Release history
3 releases in the last two years, typically about 106 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 8.5.2latest | 1 year ago | 119 KB | MIT |
| 8.5.1 | 1 year ago | 119 KB | MIT |
| 8.5.0 | 1 year ago | 118 KB | MIT |
| 8.4.0 | 2 years ago | 115 KB | MIT |
| 8.3.0 | 4 years ago | 111 KB | MIT |
| 8.2.1 | 5 years ago | 110 KB | MIT |
| 8.2.0 | 5 years ago | 110 KB | MIT |
| 8.1.0 | 5 years ago | 109 KB | MIT |
| 8.0.2 | 5 years ago | 319 KB | MIT |
| 8.0.1 | 5 years ago | 318 KB | MIT |
| 8.0.0 | 6 years ago | 299 KB | MIT |
| 7.1.0 | 6 years ago | 298 KB | MIT |
| 7.0.0 | 7 years ago | 295 KB | MIT |
| 6.1.0 | 7 years ago | 295 KB | MIT |
| 6.0.0 | 8 years ago | 295 KB | MIT |
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.