Installations
npm install @ethersproject-bsc/bytes
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
14.16.1
NPM Version
6.14.12
Score
74.1
Supply Chain
87.1
Quality
75
Maintenance
100
Vulnerability
100
License
Releases
ethers/v6.13.5 (2025-01-04 15:26)
Published on 06 Jan 2025
ethers/v6.13.4 (2024-10-10 18:01)
Published on 12 Oct 2024
ethers/v6.13.3 (2024-09-30 22:08)
Published on 01 Oct 2024
ethers/v6.13.2 (2024-07-25 18:20)
Published on 25 Jul 2024
ethers/v6.13.1 (2024-06-18 02:37)
Published on 18 Jun 2024
ethers/v6.13.0 (2024-06-04 01:38)
Published on 04 Jun 2024
Contributors
Languages
TypeScript (66.73%)
JavaScript (33.21%)
HTML (0.05%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
Download Statistics
Total Downloads
10,038
Last Day
1
Last Week
4
Last Month
17
Last Year
210
GitHub Statistics
8,094 Stars
727 Commits
1,926 Forks
103 Watching
22 Branches
3 Contributors
Bundle Size
9.52 kB
Minified
3.30 kB
Minified + Gzipped
Sponsor this package
Package Meta Information
Latest Version
5.1.0
Package Id
@ethersproject-bsc/bytes@5.1.0
Unpacked Size
74.07 kB
Size
11.74 kB
File Count
21
NPM Version
6.14.12
Node Version
14.16.1
Total Downloads
Cumulative downloads
Total Downloads
10,038
Last day
0%
1
Compared to previous day
Last week
0%
4
Compared to previous week
Last month
-15%
17
Compared to previous month
Last year
-50.7%
210
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Byte Manipulation
This sub-module is part of the ethers project.
It is responsible for manipulating binary data.
For more information, see the documentation.
Importing
Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.
1const { 2 3 isBytesLike, 4 isBytes, 5 6 arrayify, 7 8 concat, 9 10 stripZeros, 11 zeroPad, 12 13 isHexString, 14 hexlify, 15 16 hexDataLength, 17 hexDataSlice, 18 hexConcat, 19 20 hexValue, 21 22 hexStripZeros, 23 hexZeroPad, 24 25 splitSignature, 26 joinSignature, 27 28 // Types 29 30 Bytes, 31 BytesLike, 32 33 DataOptions, 34 35 Hexable, 36 37 SignatureLike, 38 Signature 39 40} = require("@ethersproject-bsc/bytes");
License
MIT License
No vulnerabilities found.
Reason
30 commit(s) and 14 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
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: MIT License: LICENSE.md:0
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/generate-docs.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/generate-docs.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/generate-docs.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/generate-docs.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/generate-docs.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/generate-docs.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-browser.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-browser.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-browser.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-browser.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-browser.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-browser.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-ci.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-ci.yml:102: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-env.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-env.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-env.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-env.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-env.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-env.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/generate-docs.yml:36
- Warn: npmCommand not pinned by hash: .github/workflows/test-env.yml:49
- Warn: npmCommand not pinned by hash: .github/workflows/test-env.yml:83
- Info: 0 out of 14 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 7 third-party GitHubAction dependencies pinned
- Info: 4 out of 7 npmCommand dependencies pinned
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/generate-docs.yml:1
- Warn: no topLevel permission defined: .github/workflows/test-browser.yml:1
- Warn: no topLevel permission defined: .github/workflows/test-ci.yml:1
- Warn: no topLevel permission defined: .github/workflows/test-env.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
5.1
/10
Last Scanned on 2025-02-03
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