Gathering detailed insights and metrics for html-encode
Gathering detailed insights and metrics for html-encode
Gathering detailed insights and metrics for html-encode
Gathering detailed insights and metrics for html-encode
npm install html-encode
Typescript
Module System
Node Version
NPM Version
64.6
Supply Chain
69.2
Quality
76.4
Maintenance
100
Vulnerability
98.9
License
JavaScript (100%)
Total Downloads
587,286
Last Day
69
Last Week
589
Last Month
2,634
Last Year
30,986
2 Stars
69 Commits
3 Watching
1 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
2.1.7
Package Id
html-encode@2.1.7
Unpacked Size
6.04 kB
Size
2.64 kB
File Count
4
NPM Version
10.5.0
Node Version
20.12.2
Publised On
08 May 2024
Cumulative downloads
Total Downloads
Last day
-22.5%
69
Compared to previous day
Last week
-8.8%
589
Compared to previous week
Last month
-4.8%
2,634
Compared to previous month
Last year
27.1%
30,986
Compared to previous year
A Node.js library for converting HTML documents of arbitrary encoding into a target encoding (utf8, utf16, etc).
1$ npm install html-encode
1'use strict' 2 3const got = require('got') 4const toUTF8 = require('html-encode')('utf-8') 5const url = process.argv[2] 6 7;(async () => { 8 const { body: buffer, headers } = await got(url, { responseType: 'buffer' }) 9 const str = toUTF8(buffer, headers['content-type']) 10 console.log(str) 11})()
See more at examples.
html-encode © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.
kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/17 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dangerous workflow patterns detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
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
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
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