{"library":"string_decoder","type":"library","category":null,"description":"The `string_decoder` package provides a userland implementation of the Node.js core `string_decoder` module. It is designed to correctly decode `Buffer` objects into strings, specifically handling multi-byte UTF-8 and UTF-16 characters that may span across multiple buffer chunks. This prevents issues like malformed characters when processing streamed or chunked data. Maintained by the Node.js Streams Working Group, it offers a stable and reliable solution for character decoding outside of the core Node.js environment. The current stable version is 1.3.0, released 7 years ago, indicating its maturity. Prior to version 1.0.0, its versions mirrored those of Node.js core; since 1.0.0, it adheres to Semantic Versioning. Its key differentiator is being a direct, semantically versioned mirror of the high-performance Node.js core implementation, making it suitable for environments where Node's built-in module is not directly available or a specific version parity is required, such as in browserify bundles.","language":"javascript","status":"maintenance","version":"1.3.0","tags":["javascript","string","decoder","browser","browserify"],"install":[{"cmd":"npm install string_decoder","imports":["import { StringDecoder } from 'string_decoder';","const { StringDecoder } = require('string_decoder');"]},{"cmd":"yarn add string_decoder","imports":[]},{"cmd":"pnpm add string_decoder","imports":[]}],"homepage":null,"github":"https://github.com/nodejs/string_decoder","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/string_decoder","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/string_decoder/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}