Gathering detailed insights and metrics for isutf8
Gathering detailed insights and metrics for isutf8
Gathering detailed insights and metrics for isutf8
Gathering detailed insights and metrics for isutf8
Quick check if a Node.js Buffer or Uint8Array is UTF-8
npm install isutf8
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99.5
Supply Chain
81.5
Quality
76.8
Maintenance
100
Vulnerability
100
License
TypeScript (81.46%)
JavaScript (18.54%)
Total Downloads
24,464,855
Last Day
22,617
Last Week
92,512
Last Month
457,299
Last Year
5,209,486
21 Stars
117 Commits
3 Forks
3 Watching
2 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
4.0.1
Package Id
isutf8@4.0.1
Unpacked Size
8.26 kB
Size
2.47 kB
File Count
6
NPM Version
10.8.2
Node Version
22.6.0
Publised On
27 Aug 2024
Cumulative downloads
Total Downloads
Last day
-2.9%
22,617
Compared to previous day
Last week
-24.1%
92,512
Compared to previous week
Last month
17.6%
457,299
Compared to previous month
Last year
0.2%
5,209,486
Compared to previous year
Quick check if a Node.js Buffer or Uint8Array is valid UTF-8.
npm install isutf8
1const isUtf8 = require('isutf8'); 2 3const buf = Buffer.from([0xd0, 0x90]); 4console.log(isUtf8(buf)); // => boolean 5 6// or 7 8const arr = new Uint8Array([0xd0, 0x90]); 9console.log(isUtf8(arr)); // => boolean 10
1import isUtf8 from 'isutf8'; 2 3const buf = Buffer.from([0xd0, 0x90]); 4console.log(isUtf8(buf)); // => boolean 5 6// or 7 8const arr = new Uint8Array([0xd0, 0x90]); 9console.log(isUtf8(arr)); // => boolean
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
Found 0/13 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Score
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