npm · npm:smartwrap
smartwrap active
Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.
The latest stable version of smartwrap is 4.0.0, published on 2026-09-20. Verified by Vigia on 2026-11-12.
| Latest stable version | 4.0.0 |
|---|---|
| Published | 2026-09-20 20:09:36 UTC |
| Install | npm install smartwrap@latest |
| Requires (engines) | {"node":">=22"} |
| Peer dependencies | — |
| Dist-tags | latest: 4.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:49:53 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-09-20 20:09:36 UTC · 53 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 26 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.0.0 | 2026-09-20 20:09:36 UTC |
3.0.0 | 2026-09-20 08:50:56 UTC |
2.0.2 | 2021-05-15 17:58:32 UTC |
2.0.1 | 2020-03-09 11:48:10 UTC |
2.0.0 withdrawn | 2020-02-29 22:20:24 UTC |
1.2.5 withdrawn | 2020-02-25 21:04:40 UTC |
1.2.4 withdrawn | 2020-02-25 19:42:02 UTC |
1.2.3 withdrawn | 2020-02-14 18:00:45 UTC |
1.2.2 withdrawn | 2020-02-13 23:21:04 UTC |
1.2.1 withdrawn | 2020-01-09 19:06:07 UTC |
1.2.0 withdrawn | 2019-11-12 00:50:27 UTC |
1.1.2 withdrawn | 2019-11-03 17:57:45 UTC |
1.1.1 withdrawn | 2019-11-03 15:56:40 UTC |
1.1.0 withdrawn | 2019-08-28 17:13:04 UTC |
1.0.12 withdrawn | 2019-08-13 16:00:01 UTC |
1.0.11 withdrawn | 2019-01-13 06:53:47 UTC |
1.0.10 withdrawn | 2018-12-21 09:20:55 UTC |
1.0.9 withdrawn | 2017-06-09 22:58:17 UTC |
1.0.8 withdrawn | 2017-06-09 22:53:09 UTC |
1.0.7 withdrawn | 2017-06-07 14:35:02 UTC |
Showing the 20 most recent of 26 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 3.0.0 |
node 18 | 3.0.0 |
node 20 | 3.0.0 |
node 22 | 4.0.0 |
node 24 | 4.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of smartwrap?
The latest stable version of smartwrap is 4.0.0, published on 2026-09-20. Verified by Vigia on 2026-11-12.
How do I install the latest version of smartwrap?
Run npm install smartwrap@latest. The latest stable version is 4.0.0 (verified 2026-11-12).
Is smartwrap deprecated?
No. smartwrap is not marked as deprecated in the registry.
Which Node.js version does smartwrap require?
smartwrap 4.0.0 declares this requirement: {"node":">=22"}.
Does smartwrap 4.0.0 have known vulnerabilities?
No known advisories affect smartwrap 4.0.0 according to the data Vigia checks.
Is smartwrap still maintained?
smartwrap published 2 stable releases in the last 12 months; the most recent was 53 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- shapefile
- sass-embedded-linux-musl-arm64
- @ucast/mongo
- vega-voronoi
- @oxc-parser/binding-linux-arm-gnueabihf
- @stdlib/constants-uint32-max
- web3-shh
- hash-stream-validation
- @sveltejs/adapter-node
- @lerna/conventional-commits
- @zag-js/listbox
- @reach/descendants
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/smartwrap) [](https://vigia.coredls.cloud/npm/smartwrap) [](https://vigia.coredls.cloud/npm/smartwrap)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/smartwrap
GET https://vigia.coredls.cloud/v1/packages/npm/smartwrap/versions/{version}