smartwrap 3.0.0
Textwrap for javascript/nodejs. Correctly handles wide characters (ๅฎฝๅญ็ฌฆ) and emojis (๐). Wraps strings with option to break on words.
smartwrap@3.0.0 was published on 2026-09-20. Its manifest declares 3 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.
All smartwrap versions ยท Permanent reference to 3.0.0 ยท Latest release
Package specifications
| Version | 3.0.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-09-20T08:50:56.205Z |
| Node.js requirement | >=14 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 45.79 KiB |
| Published file count | 21 |
| Package type | Not declared |
| ES module entry | ./dist/esm/main.js |
| Default entry | ./dist/cjs/main.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 19 |
| Repository stars | 11 |
| Repository forks | 8 |
Install smartwrap 3.0.0
npm install smartwrap@3.0.0 pnpm add smartwrap@3.0.0 yarn add smartwrap@3.0.0
Runtime dependencies
- yargs ^17.7.2
- wcwidth ^1.0.1
- strip-ansi ^6.0.1
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- ansi-regex@5.0.1 โ indirect
- ansi-styles@4.3.0 โ indirect
- cliui@8.0.1 โ indirect
- clone@1.0.4 โ indirect
- color-convert@2.0.1 โ indirect
- color-name@1.1.4 โ indirect
- defaults@1.0.4 โ indirect
- emoji-regex@8.0.0 โ indirect
- escalade@3.2.0 โ indirect
- get-caller-file@2.0.5 โ indirect
- is-fullwidth-code-point@3.0.0 โ indirect
- require-directory@2.1.1 โ indirect
- string-width@4.2.3 โ indirect
- strip-ansi@6.0.1 โ direct
- wcwidth@1.0.1 โ direct
- wrap-ansi@7.0.0 โ indirect
- y18n@5.0.8 โ indirect
- yargs@17.7.3 โ direct
- yargs-parser@21.1.1 โ indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 0/10 โ Found 2/25 approved changesets -- score normalized to 0 |
|---|---|
| Binary-Artifacts | 10/10 โ no binaries found in the repo |
| Maintained | 0/10 โ 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| CII-Best-Practices | 0/10 โ no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 โ security policy file not detected |
| Fuzzing | 0/10 โ project is not fuzzed |
| License | 10/10 โ license file detected |
| Branch-Protection | 0/10 โ branch protection not enabled on development/release branches |
| SAST | 0/10 โ SAST tool is not run on all commits -- score normalized to 0 |
| Pinned-Dependencies | 0/10 โ dependency not pinned by hash detected -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/smartwrap/3.0.0 โ retrieved 2026-10-29T17:36:52.749Z
- https://api.deps.dev/v3/projects/github.com%2Ftecfu%2Fsmartwrap โ retrieved 2026-10-29T15:26:21.947Z
- https://api.deps.dev/v3/systems/npm/packages/smartwrap/versions/3.0.0 โ retrieved 2026-10-29T17:36:53.319Z
- https://api.deps.dev/v3/systems/npm/packages/smartwrap/versions/3.0.0:dependencies โ retrieved 2026-10-29T17:36:53.347Z