Gathering detailed insights and metrics for acorn-dynamic-import-with-walk-support
Gathering detailed insights and metrics for acorn-dynamic-import-with-walk-support
Gathering detailed insights and metrics for acorn-dynamic-import-with-walk-support
Gathering detailed insights and metrics for acorn-dynamic-import-with-walk-support
npm install acorn-dynamic-import-with-walk-support
Typescript
Module System
Node Version
NPM Version
69
Supply Chain
80.2
Quality
75.1
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
1,119
Last Day
1
Last Week
4
Last Month
14
Last Year
78
23 Commits
2 Watching
5 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
2.1.0
Package Id
acorn-dynamic-import-with-walk-support@2.1.0
Size
3.58 kB
NPM Version
5.5.1
Node Version
8.9.2
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
4
Compared to previous week
Last month
600%
14
Compared to previous month
Last year
-66.7%
78
Compared to previous year
This is plugin for Acorn - a tiny, fast JavaScript parser, written completely in JavaScript.
For more information, check out the proposal repo.
You can use this module directly in order to get Acorn instance with plugin installed:
1import acorn from 'acorn-dynamic-import'; 2// or... 3const acorn = require('acorn-dynamic-import').default;
Or you can use inject.js
for injecting plugin into your own version of Acorn like this:
1const acorn = require('acorn-dynamic-import/lib/inject').default(require('./custom-acorn'));
Then, use the plugins
option whenever you need to support dynamicImport while parsing:
1const ast = acorn.parse(code, { 2 plugins: { dynamicImport: true } 3});
To use the updated walk functionality the process is similar. You can require the default implementation as:
1import walk from 'acorn-dynamic-import/lib/walk'; 2// or... 3const dynamicImportWalk = require('acorn-dynamic-import/lib/walk').default;
Or you can use the injectable version for injecting the new walk functionality into your own version of Acorn like this:
1const walk = require('acorn-dynamic-import/lib/walk').inject(require('acorn/dist/walk')); 2
This plugin is issued under the MIT license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/20 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-02-03
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