smartwrap 1.2.4
Textwrap for javascript/nodejs. Correctly handles wide characters (ๅฎฝๅญ็ฌฆ) and emojis (๐). Wraps strings with option to break on words.
smartwrap@1.2.4 was published on 2020-02-25. Its manifest declares 5 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
Deprecated: Backported compatibility to node > 6
All smartwrap versions ยท Permanent reference to 1.2.4 ยท Latest release
Package specifications
| Version | 1.2.4 |
|---|---|
| License declaration | GPL-2.0 |
| Published | 2020-02-25T19:42:02.466Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 5 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 49.14 KiB |
| Published file count | 18 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | src/main.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 31 |
| Repository stars | 11 |
| Repository forks | 8 |
Install smartwrap 1.2.4
npm install smartwrap@1.2.4 pnpm add smartwrap@1.2.4 yarn add smartwrap@1.2.4
Runtime dependencies
- yargs ^15.1.0
- wcwidth ^1.0.1
- breakword ^1.0.5
- strip-ansi ^6.0.0
- grapheme-splitter ^1.0.4
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
- breakword@1.0.6 โ direct
- camelcase@5.3.1 โ indirect
- cliui@6.0.0 โ indirect
- clone@1.0.4 โ indirect
- color-convert@2.0.1 โ indirect
- color-name@1.1.4 โ indirect
- decamelize@1.2.0 โ indirect
- defaults@1.0.4 โ indirect
- emoji-regex@8.0.0 โ indirect
- find-up@4.1.0 โ indirect
- get-caller-file@2.0.5 โ indirect
- grapheme-splitter@1.0.4 โ direct
- is-fullwidth-code-point@3.0.0 โ indirect
- locate-path@5.0.0 โ indirect
- p-limit@2.3.0 โ indirect
- p-locate@4.1.0 โ indirect
- p-try@2.2.0 โ indirect
- path-exists@4.0.0 โ indirect
- require-directory@2.1.1 โ indirect
- require-main-filename@2.0.0 โ indirect
- set-blocking@2.0.0 โ indirect
- string-width@4.2.3 โ indirect
- strip-ansi@6.0.1 โ direct
- wcwidth@1.0.1 โ direct
- which-module@2.0.1 โ indirect
- wrap-ansi@6.2.0 โ indirect
- y18n@4.0.3 โ indirect
- yargs@15.4.1 โ direct
- yargs-parser@18.1.3 โ 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/1.2.4 โ retrieved 2026-10-29T18:17:42.113Z
- 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/1.2.4 โ retrieved 2026-10-29T18:17:42.662Z
- https://api.deps.dev/v3/systems/npm/packages/smartwrap/versions/1.2.4:dependencies โ retrieved 2026-10-29T18:17:42.678Z