Gathering detailed insights and metrics for rollup-plugin-local-resolving
Gathering detailed insights and metrics for rollup-plugin-local-resolving
Gathering detailed insights and metrics for rollup-plugin-local-resolving
Gathering detailed insights and metrics for rollup-plugin-local-resolving
Resolves Node-style directories with `index.js` files in Rollup
npm install rollup-plugin-local-resolving
Typescript
Module System
Node Version
NPM Version
67.4
Supply Chain
74.8
Quality
75.1
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
7,757
Last Day
2
Last Week
2
Last Month
12
Last Year
775
MIT License
1 Stars
42 Commits
2 Branches
1 Contributors
Updated on Oct 24, 2019
Minified
Minified + Gzipped
Latest Version
1.1.1
Package Id
rollup-plugin-local-resolving@1.1.1
Unpacked Size
7.13 kB
Size
2.73 kB
File Count
7
NPM Version
6.1.0
Node Version
10.4.1
Cumulative downloads
Total Downloads
Last Day
0%
2
Compared to previous day
Last Week
0%
2
Compared to previous week
Last Month
-25%
12
Compared to previous month
Last Year
-31%
775
Compared to previous year
Resolves Node-style directories with index.js
files in Rollup. This is forked from https://github.com/frostney/rollup-plugin-local-resolve.
Rollup by default doesn't handle resolving ./module
to ./module.js
or ./module/index.js
internally. While there is the rollup-plugin-node-resolve
plugin which also resolves directories as well as all dependencies from the node_modules
directory, these may sometimes be too much for the use case at hand.
1$ npm install rollup-plugin-local-resolving
1import { rollup } from 'rollup'; 2import localResolve from 'rollup-plugin-local-resolving'; 3 4// This will resolve `./files` to `./files.js` or `./files/index.js` if the file exists 5rollup({ 6 entry: './files', 7 plugins: [localResolve()], 8});
1{ 2 // `extensions` is an optional array with all extensions expected to be resolved. Defaults to ['.js'] when omited. 3 extensions: ['.js', '.jsx'] 4}
index.js
file asynchronouslyMIT, see LICENSE
for more information
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/30 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 SAST tool detected
Details
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
branch protection not enabled on development/release branches
Details
Reason
67 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
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