🏡 A monorepo with publicly published TypeScript utils that we can re-use in our different projects. Not recommended for use outside Transloadit. No SemVer guarantees. Use at own Risk.
Installations
npm install @transloadit/prettier-bytes
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
22.11.0
NPM Version
10.9.0
Score
100
Supply Chain
61
Quality
83.9
Maintenance
100
Vulnerability
100
License
Releases
@transloadit/trigger-pager@1.0.0
Published on 21 Nov 2024
@transloadit/sort-result-meta@1.0.0
Published on 21 Nov 2024
@transloadit/sort-result@1.0.0
Published on 21 Nov 2024
@transloadit/sort-object-by-prio@1.0.0
Published on 21 Nov 2024
@transloadit/sort-object@1.0.0
Published on 21 Nov 2024
@transloadit/sort-assembly@1.0.0
Published on 21 Nov 2024
Contributors
Unable to fetch Contributors
Languages
TypeScript (95.85%)
JavaScript (4.15%)
Developer
Download Statistics
Total Downloads
38,803,441
Last Day
57,332
Last Week
236,912
Last Month
1,069,671
Last Year
14,329,170
GitHub Statistics
7 Stars
360 Commits
8 Watching
3 Branches
16 Contributors
Bundle Size
590.00 B
Minified
417.00 B
Minified + Gzipped
Package Meta Information
Latest Version
1.0.0
Package Id
@transloadit/prettier-bytes@1.0.0
Unpacked Size
4.99 kB
Size
2.26 kB
File Count
7
NPM Version
10.9.0
Node Version
22.11.0
Publised On
21 Nov 2024
Total Downloads
Cumulative downloads
Total Downloads
38,803,441
Last day
1.6%
57,332
Compared to previous day
Last week
-13.9%
236,912
Compared to previous week
Last month
5.1%
1,069,671
Compared to previous month
Last year
20.3%
14,329,170
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
No dependencies detected.
Even though this module is publicly accessible, we do not recommend using it in projects outside of Transloadit. We won't make any guarantees about its workings and can change things at any time, we won't adhere strictly to SemVer.
This module is maintained from a monorepo called monolib.
Adapted from https://github.com/Flet/prettier-bytes/ Changing 1000 bytes to 1024, so we can keep uppercase KB vs kB ISC License (c) Dan Flettre https://github.com/Flet/prettier-bytes/blob/master/LICENSE
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Info: FSF or OSI recognized license: GNU Affero General Public License v3.0: LICENSE.md:0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci-monolib.yml:23
- Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/ci-monolib.yml:24
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:15
- Warn: no topLevel permission defined: .github/workflows/ci-monolib.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
Reason
2 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
Reason
Found 9/28 approved changesets -- score normalized to 3
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-monolib.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/transloadit/monolib/ci-monolib.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-monolib.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/transloadit/monolib/ci-monolib.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-monolib.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/transloadit/monolib/ci-monolib.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/transloadit/monolib/release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/transloadit/monolib/release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/transloadit/monolib/release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/transloadit/monolib/release.yml/main?enable=pin
- Info: 0 out of 6 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
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
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 13 are checked with a SAST tool
Score
5.9
/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