An open-source, punctuation-aware title wrapping library with an interactive preview site.
packages/balanced-title-wrap: the dependency-free npm packageapp: the interactive preview site, which imports the workspace package
The preview source is kept in the repository, but npm only publishes the files
declared by the package in packages/balanced-title-wrap/package.json.
npm install
npm test
npm run devnpm run build:package
npm run test:package
npm run pack:checkSee the package README for API and usage examples.
MIT
Releases are published from GitHub through npm Trusted Publishing. The
publish.yml workflow uses short-lived OIDC credentials, stores no npm token,
and automatically receives npm provenance. Publishing a GitHub Release triggers
the workflow.