Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1 KB

File metadata and controls

46 lines (31 loc) · 1 KB

balanced-title-wrap

An open-source, punctuation-aware title wrapping library with an interactive preview site.

Repository structure

  • packages/balanced-title-wrap: the dependency-free npm package
  • app: 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.

Development

npm install
npm test
npm run dev

Package

npm run build:package
npm run test:package
npm run pack:check

See the package README for API and usage examples.

Demo

Balance Wrap Lab

License

MIT

Releasing

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.