{"library":"encoding-japanese","type":"library","category":null,"description":"encoding-japanese is a JavaScript library designed for detecting and converting various character encodings, with a strong focus on Japanese encodings like Shift_JIS, EUC-JP, and ISO-2022-JP, alongside common Unicode formats like UTF-8 and UTF-16. Unlike standard JavaScript string handling, which is internally UTF-16, this library processes encodings as arrays of character code values, allowing for conversions between diverse character sets. The current stable version is 2.2.0, with releases occurring infrequently, often driven by feature additions or maintenance updates. Its key differentiator is robust support for a wide range of Japanese encodings and its ability to handle character codes as arrays, making it suitable for binary data manipulation (e.g., with `Uint8Array` or Node.js `Buffer`).","language":"javascript","status":"active","version":"2.2.0","tags":["javascript","base64","charset","convert","detect","encoding","euc-jp","eucjp","iconv"],"last_verified":"Wed May 27","install":[{"cmd":"npm install encoding-japanese","imports":["import * as Encoding from 'encoding-japanese';","import { detect } from 'encoding-japanese/lib/encoding';","const Encoding = require('encoding-japanese');\nconst convertedData = Encoding.convert(...);"]},{"cmd":"yarn add encoding-japanese","imports":[]},{"cmd":"pnpm add encoding-japanese","imports":[]}],"homepage":null,"github":"https://github.com/polygonplanet/encoding.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/encoding-japanese","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/encoding-japanese/compatibility"}}