Gathering detailed insights and metrics for acorn-node
Gathering detailed insights and metrics for acorn-node
Gathering detailed insights and metrics for acorn-node
Gathering detailed insights and metrics for acorn-node
the acorn javascript parser, preloaded with plugins for syntax parity with recent node versions
npm install acorn-node
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
13 Stars
103 Commits
9 Forks
16 Watching
6 Branches
27 Contributors
Updated on 26 Mar 2024
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-5.1%
538,531
Compared to previous day
Last week
5.1%
3,125,020
Compared to previous week
Last month
11.4%
12,398,718
Compared to previous month
Last year
-38.3%
165,144,330
Compared to previous year
Acorn preloaded with plugins for syntax parity with recent Node versions.
It also includes versions of the plugins compiled with Babel, so they can be run on old Node versions (0.6 and up).
npm install acorn-node
1var acorn = require('acorn-node')
The API is the same as acorn, but with plugins to match Node.js behaviour.
acorn
branch supports the same syntax as Node.js.The following options have different defaults from acorn, to match Node modules:
ecmaVersion: 2022
allowHashBang: true
allowReturnOutsideFunction: true
1var walk = require('acorn-node/walk')
The Acorn syntax tree walker. Comes preconfigured for the syntax plugins if necessary. See the acorn documentation for details.
The files in the repo root and the ./test folder are licensed as Apache-2.0.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/22 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More