NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #4871 most downloaded on npm
Text hyphenation in Javascript.
Latest stable
1.14.1
Last release 10 months ago
16 Jan 2026
Ships unpredictably
gaps range from 9 days to 1.9 years
Nearly every release is documented
notes for 34 of 36 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
36 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Optimize patterns UMD code to reduce file size when processed with Terser compiler
Optimize patterns source code to fasten library code initialization in runtime
Implement case insensitive caching, support case insensitive exceptions
debug optionYour coding agent can read these notes before it upgrades. Set up the MCP server →
Fasten even check operation using bitwise operator
Added patterns: Albanian, Finnish (school hyphenation), Macedonian
Optimized patterns dictionary size
Fixed the issue with bad hyphenation, that started in version 1.7.0
Fixed problem with en-us.cjs.js in package build
en-us.cjs.js in package buildOptimized text parsing when html option is false
html option is falseDestructured text reader into composable verifiers
Destructured text reader into composable verifiers
Optimized patterns storage to reduce patterns file size
Optimized patterns storage to reduce patterns file size
BREAKING CHANGE: Option html default value changed to true
html default value changed to trueSimplified patterns export container
Moved patterns trie generation step to build phase
Exclude debug code from production build
exceptions optionReworked text reader in favour of if statements
Fixed bad hyphenation of words with apostrophe symbol
Prebuild a dictionary trie to improve performance of a hyphenation algorithm
### Fixed - Minor performance fix
### Added - Add async web worker support
Handle the edge case of a word “constructor” being interpreted as a JavaScript keyword. - by @arseni-mourzenko
Change undesired behavior of option minWordLength: value now can be set to less than 5 - by @kamilmielnik
minWordLength: value now can be set to less than 5 - by @kamilmielnikPrevent hyphenation of HTML attributes in hyphenateHTML
Nothing published for this version
### Added - Add option minWordLength
minWordLengthNothing published for this version
Add ability to configure initialized hyphenator function
html option is set to trueSplit source code into several files with following bundling
Add HTML sections exclusion from hyphenation
### Changed - Reduced NPM package size
Fixed badly processed repeated patterns in a word by @jaumeortola
Replaced a unicode literal char with a corresponding code by @oskarkook
Rebuilt patterns with tex2js translator
Fixed bad return value when EOF by @nicosierra
### Added - Output stats in debug mode ### Fixed - Fixed typos by @jhwohlgemuth - Fixed bad word extraction
First working version with 75 language patterns
One column per quarter.