{"library":"hyphen","type":"library","category":null,"description":"The `hyphen` library provides robust text hyphenation capabilities in JavaScript, based on Franklin M. Liang's widely adopted hyphenation algorithm. It leverages pre-compiled hyphenation patterns sourced from ctan.org for various languages. Currently stable at version 1.14.1, the package is primarily feature-driven with an irregular release cadence. Key differentiators include its extensive language support via separate pattern imports (e.g., `hyphen/en`, `hyphen/de`), automatic skipping of HTML tags during hyphenation, and the provision of both asynchronous (`hyphenate`) and synchronous (`hyphenateSync`) functions to suit different application contexts. Users can configure hyphenation with options for exceptions, the soft hyphen character, and minimum word length for processing.","language":"javascript","status":"active","version":"1.14.1","tags":["javascript","hyphen","hyphenate","hyphenation","hyphenator"],"last_verified":"Wed May 27","install":[{"cmd":"npm install hyphen","imports":["import { hyphenate } from 'hyphen/en';","import { hyphenateSync } from 'hyphen/de';","import * as hyphenEn from 'hyphen/en';"]},{"cmd":"yarn add hyphen","imports":[]},{"cmd":"pnpm add hyphen","imports":[]}],"homepage":"https://ytiurin.github.io/hyphen","github":"https://github.com/ytiurin/hyphen","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/hyphen","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/hyphen/compatibility"}}