Installations
npm install egg-view-assets2
Developer Guide
Typescript
No
Module System
N/A
Min. Node Version
>=8.0.0
Node Version
8.11.3
NPM Version
5.0.1
Releases
Contributors
Languages
JavaScript (100%)
Developer
eggjs
Download Statistics
Total Downloads
1,101
Last Day
3
Last Week
6
Last Month
22
Last Year
98
GitHub Statistics
53 Stars
68 Commits
21 Forks
13 Watching
3 Branches
29 Contributors
Package Meta Information
Latest Version
1.1.3
Package Id
egg-view-assets2@1.1.3
Unpacked Size
20.08 kB
Size
7.47 kB
File Count
16
NPM Version
5.0.1
Node Version
8.11.3
Total Downloads
Cumulative downloads
Total Downloads
1,101
Last day
200%
3
Compared to previous day
Last week
50%
6
Compared to previous week
Last month
46.7%
22
Compared to previous month
Last year
-14%
98
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
egg-view-assets
Manage frontend assets in development and production.
Install
1$ npm i egg-view-assets --save
Usage
Add egg-view-assets
as plugin
1// {app_root}/config/plugin.js 2exports.assets = { 3 enable: true, 4 package: 'egg-view-assets', 5};
Configuration, you can see full example in egg-ant-design-pro.
1// {app_root}/config/config.default.js 2exports.view = { 3 mapping: { 4 '.js': 'assets', 5 }, 6}; 7 8exports.assets = { 9 devServer: { 10 command: 'roadhog dev', 11 port: 8000, 12 }, 13};
See config/config.default.js for more detail.
Questions & Suggestions
Please open an issue here.
License
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
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
Found 12/30 approved changesets -- score normalized to 4
Reason
2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/nodejs.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
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
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 15 are checked with a SAST tool
Score
4.6
/10
Last Scanned on 2025-01-27
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