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.3
Supply Chain
70.3
Quality
75.6
Maintenance
100
Vulnerability
100
License
JavaScript (99.86%)
HTML (0.14%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
14,926,330
Last Day
11,077
Last Week
60,043
Last Month
267,755
Last Year
3,369,253
MIT License
5 Stars
53 Commits
2 Forks
3 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
4.5%
11,077
Compared to previous day
Last Week
-0.7%
60,043
Compared to previous week
Last Month
14.3%
267,755
Compared to previous month
Last Year
15%
3,369,253
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
3 existing vulnerabilities detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- 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-02-24
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