Installations
npm install manifest-package-loader
Developer Guide
Typescript
No
Module System
CommonJS
Score
64.5
Supply Chain
77.5
Quality
74.8
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
bronson
Download Statistics
Total Downloads
755
Last Day
1
Last Week
3
Last Month
7
Last Year
62
GitHub Statistics
3 Stars
3 Commits
1 Forks
3 Watching
1 Branches
1 Contributors
Bundle Size
763.00 B
Minified
439.00 B
Minified + Gzipped
Package Meta Information
Latest Version
0.9.0
Package Id
manifest-package-loader@0.9.0
Size
2.01 kB
Total Downloads
Cumulative downloads
Total Downloads
755
Last day
0%
1
Compared to previous day
Last week
200%
3
Compared to previous week
Last month
250%
7
Compared to previous month
Last year
-43.6%
62
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
manifest-package-loader
This Webpack loader inserts data from package.json into a your manifest.json to ensure it's always up-to-date. (who remembers to update the version field every time?)
This is handy when writing chrome extensions. You may also be interested in the web-accessible resources plugin.
This script was inspired by SO user108471.
Install
yarn add -D manifest-package-loader
Usage
Add a rule to your webpack.config.json
:
1// webpack.config.js 2 3module.exports = { 4 ... 5 module: { 6 rules: [ 7 ... 8 { 9 test: /^manifest\.json$/, 10 use: [ 11 { 12 loader: 'file-loader', 13 options: { name: '[name].[ext]' } 14 }, 15 'manifest-package-loader' 16 ] 17 } 18 ] 19 } 20 ... 21}
Now the following fields will be copied from webpack.json to your manifest.json:
- name
- description
- version
- author
- homepage_url
Contributing
Please file an issue on GitHub.
License
MIT, be free.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
Found 0/3 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
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
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