Gathering detailed insights and metrics for lws-static
Gathering detailed insights and metrics for lws-static
Gathering detailed insights and metrics for lws-static
Gathering detailed insights and metrics for lws-static
npm install lws-static
Typescript
Module System
Min. Node Version
Node Version
NPM Version
98.4
Supply Chain
70.3
Quality
75.6
Maintenance
100
Vulnerability
100
License
JavaScript (99.86%)
HTML (0.14%)
Total Downloads
15,772,627
Last Day
3,834
Last Week
64,951
Last Month
283,363
Last Year
3,447,118
MIT License
5 Stars
53 Commits
2 Forks
2 Watchers
1 Branches
1 Contributors
Updated on Jan 07, 2025
Minified
Minified + Gzipped
Latest Version
3.1.1
Package Id
lws-static@3.1.1
Unpacked Size
5.44 kB
Size
2.24 kB
File Count
4
NPM Version
10.8.2
Node Version
22.5.1
Published on
Aug 01, 2024
Cumulative downloads
Total Downloads
Last Day
9.3%
3,834
Compared to previous day
Last Week
-5.8%
64,951
Compared to previous week
Last Month
5.3%
283,363
Compared to previous month
Last Year
21.7%
3,447,118
Compared to previous year
1
3
Lws middleware plugin to serve static files, wraps koa-static. See here for usage instrutions.
Adds the following options to lws
.
--directory, -d path Root directory, defaults to the current directory.
--static.maxage number Cache max-age (in seconds) applied to all resources served.
--static.defer If true, serves after `await next`, allowing any downstream middleware to
respond first.
--static.index path Default file name, defaults to `index.html`.
--static.extensions ext One or more default filename extensions. For example, if you set
`--static.extensions html` and request `/page` then the server will look for
both `page` and `page.html` on disk, serving the latter.
© 2016-24 Lloyd Brookes <75pound@gmail.com>.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
4 existing vulnerabilities detected
Details
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
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2025-06-23
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