NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #872 most downloaded on npm
Character encoding detector
Last release 3 months ago
20 Jun 2026
Release timing varies
gaps range from 5 weeks to 1.4 years
Most releases are documented
notes for 20 of 29 stable releases
1 version withdrawn
withdrawn after publishing
13 years old
30 releases · first in 2013
2.2.0 (2026-06-20) Features windows-1257 and windows-1258
One column per quarter.
2.1.0 (2025-02-24) Features Expose EncodingName type
add strict input check allowing only byte arrays as inputs
Buffer or Uint8Array.add strict input check allowing only byte arrays as inputs
1.6.0 (2023-06-16) Features Add ASCII encoding support
types: Export AnalyseResult and DetectResult types
allow position offset as option
Language detection improvements
1.3.0 (2020-09-25) Features Make it work in browser
## 1.2.2 (2020-09-23) ### Bug Fixes * Make npm package smaller
change Shift-JIS mime name to Shift_JIS
Make type definitions compatible with browser
Add default export that mimics named exports
Deprecation of callbacks in favour of promises
detectAll, detectFileAll and detectFileAllSync - use analyse fn instead.fs module to enable usage in browser# 0.8.0 (2019-07-11) ### Features * core: Semantic release
Use Buffer.allocUnsafe instead of deprecated Buffer API #17 (by @aduh95)
Use wrapper functions for returning all matches #16 (by @zevanty)
Add option to return all matches #13 (by @zevanty)
yarn.lock to .npmignore. #11 (by @wtgtybhertgeghgtwtg)test files published in release #9 (by @seangarner)
Nothing published for this version
Optimize file read #6 (by @runk)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →