Installations
npm install tabular-filesize-gzip
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
18.18.2
NPM Version
10.1.0
Score
62.3
Supply Chain
82.9
Quality
73.9
Maintenance
100
Vulnerability
99.3
License
Releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (97.49%)
JavaScript (2.51%)
Developer
jenssimon
Download Statistics
Total Downloads
29,260
Last Day
1
Last Week
29
Last Month
890
Last Year
9,915
GitHub Statistics
547 Commits
3 Watching
2 Branches
2 Contributors
Bundle Size
131.00 kB
Minified
35.40 kB
Minified + Gzipped
Package Meta Information
Latest Version
2.1.1
Package Id
tabular-filesize-gzip@2.1.1
Unpacked Size
10.63 kB
Size
4.10 kB
File Count
6
NPM Version
10.1.0
Node Version
18.18.2
Publised On
14 Oct 2023
Total Downloads
Cumulative downloads
Total Downloads
29,260
Last day
-95.2%
1
Compared to previous day
Last week
-89.1%
29
Compared to previous week
Last month
-16.7%
890
Compared to previous month
Last year
0.2%
9,915
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
tabular-filesize-gzip
Show file sizes tabular including Gzip sizes.
Install
1$ yarn add tabular-filesize-gzip --dev
Usage
This generates a file size table with multiple sections and groups.
1const tabularFilesizeGzip = require('tabular-filesize-gzip') 2 3console.log(tabularFilesizeGzip([ 4 { 5 title: 'Section 1', 6 groups: [ 7 { 8 title: 'JS files', 9 files: 'test/js/**/*.js', 10 ignore: [ 11 'test/js/legacy/**', 12 ], 13 }, 14 { 15 title: 'CSS files', 16 files: 'test/css/**/*.css', 17 }, 18 ], 19 }, 20 { 21 title: 'Section 2', 22 groups: [ 23 // ... 24 ] 25 } 26]))
License
MIT © 2023 Jens Simon
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
SAST tool is run on all commits
Details
- Info: SAST configuration detected: CodeQL
- Info: all commits (2) are checked with a SAST tool
Reason
packaging workflow detected
Details
- Info: Project packages its releases by way of GitHub Actions.: .github/workflows/ci.yml:36
Reason
5 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/jenssimon/tabular-filesize-gzip/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/jenssimon/tabular-filesize-gzip/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/jenssimon/tabular-filesize-gzip/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/jenssimon/tabular-filesize-gzip/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/jenssimon/tabular-filesize-gzip/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/jenssimon/tabular-filesize-gzip/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/jenssimon/tabular-filesize-gzip/codeql-analysis.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/commitlint.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/jenssimon/tabular-filesize-gzip/commitlint.yml/main?enable=pin
- Info: 2 out of 9 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/ci.yml:1
- Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1
- Warn: no topLevel permission defined: .github/workflows/commitlint.yml:1
- Info: no jobLevel write permissions found
Reason
Found 0/28 approved changesets -- score normalized to 0
Reason
project is archived
Details
- Warn: Repository is archived.
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
Score
4.4
/10
Last Scanned on 2024-12-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