Scan your whole stack
From OX Research Newsroom
Are you using iconv-jschardet?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.0.37
iconv-jschardet was last scanned on 27 Nov 2026 at version 2.0.37. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.0.37 LATEST | 27 Nov 2026 | No rules fired |
Findings for v2.0.37. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.0.37; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
JavaScript 字符編碼轉換與自動檢測工具 (支援 iconv-lite, jschardet) / Character encoding conversion and auto-detection tool in JavaScript (supports iconv-lite, jschardet)
npm install iconv-jschardet
yarn add iconv-jschardet
pnpm add iconv-jschardet
import * as iconv from 'iconv-jschardet';
// 或使用預設匯入 / Or use default import
import iconv from 'iconv-jschardet';
const BIG5_HEX = 'a6b8b160a5ceb0eaa672bcd0b7c7a672c5e9aaed';
// 轉換為 UTF-8 Buffer / Convert to UTF-8 Buffer
iconv.BufferFrom(Buffer.from(BIG5_HEX, 'hex'), 'utf8')
iconv.BufferFrom(BIG5_HEX, 'utf8', 'hex')
// 轉換為 Big5 Buffer / Convert to Big5 Buffer
iconv.BufferFrom(Buffer.from(BIG5_HEX, 'hex'), 'big5')
iconv.BufferFrom(BIG5_HEX, 'big5', 'hex')
const BIG5_STR = "\xa6\xb8\xb1\x60\xa5\xce\xb0\xea\xa6\x72\xbc\xd0\xb7\xc7\xa6\x72\xc5\xe9\xaa\xed";
const BIG5_BUF = Buffer.from('a6b8b160a5ceb0eaa672bcd0b7c7a672c5e9aaed', 'hex');
const BIG5_UTF8_BUF = Buffer.from('e6 ac a1 e5 b8 b8 e7 94 a8 e5 9c 8b e5 ad 97 e6 a8 99 e6 ba 96 e5 ad 97 e9 ab 94 e8 a1 a8'.replace(/\s/g, ''), 'hex');
// 編碼檢測 / Encoding Detection
// 同等於 jschardet.detect
// Equivalent to jschardet.detect
iconv.detect(BIG5_STR);
iconv.detect(BIG5_BUF);
// 編碼轉換 / Encoding Conversion
// Big5 Buffer
iconv.encode(BIG5_STR, 'big5');
iconv.encode(BIG5_BUF, 'big5');
// UTF-8 Buffer
iconv.encode(BIG5_STR, 'utf8');
iconv.encode(BIG5_BUF, 'utf8');
// UTF-8 字串
iconv.decode(BIG5_STR);
iconv.decode(BIG5_BUF);
// 停用解碼警告 / Disable decode warnings
iconv.skipDecodeWarning(bool: boolean = true)
// 停用編碼資料警告 / Disable codec data warnings
iconv.disableCodecDataWarn(bool: boolean = true)
detect(str, plus?: boolean): IDetectData自動檢測輸入內容的編碼格式 Automatically detect the encoding format of input content
encode(str, to: vEncoding, from?: vEncoding, options?: IOptionsIconvLite): Buffer將輸入內容轉換為指定編碼的 Buffer Convert input content to Buffer with specified encoding
decode(str, from?: vEncoding): string將輸入內容解碼為字串 Decode input content to string
BufferFrom(str, encoding?: vEncoding, from?: vEncoding, options?: IOptionsIconvLite): Buffer將多種格式的輸入轉換為 Buffer Convert various input formats to Buffer
skipDecodeWarning(bool?: boolean): boolean控制是否顯示解碼警告 Control whether to display decode warnings
disableCodecDataWarn(bool?: boolean): boolean控制是否顯示編碼資料警告 Control whether to display codec data warnings
歡迎提交 Issue 和 Pull Request!
Welcome to submit Issues and Pull Requests!
ISC
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.