@journey-to-code/open-word-wrap
v1.0.0
Published
Dependency-free word wrapping for terminal and plain-text output.
Maintainers
Readme
open.word-wrap
Dependency-free word wrapping for terminal and plain-text output.
Install
npm install @journey-to-code/open-word-wrapUsage
wrapText("one two three", 7);
// one two
// threeRuntime
- Node.js 18+
- modern ESM-capable tooling
- zero runtime dependencies
Development
npm testScope
This package intentionally focuses on one small, reusable responsibility. Application-specific behavior belongs in higher-level packages.
License
MIT
