npm · npm:trim-right
trim-right deprecated
Similar to `String#trim()` but removes only whitespace on the right
The latest stable version of trim-right is 2.0.0, published on 2021-04-21. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.0.0 |
|---|---|
| Published | 2021-04-21 10:54:15 UTC |
| Install | npm install trim-right@latest |
| Deprecation | Deprecated. Use `String#trimEnd()` instead. |
| Requires (engines) | {"node":">=12"} |
| Peer dependencies | — |
| Dist-tags | latest: 2.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:04:37 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 | dormant |
|---|---|
| Last stable release | 2021-04-21 10:54:15 UTC · 2031 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 3 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.0 withdrawn | 2021-04-21 10:54:15 UTC |
1.0.1 | 2015-07-15 20:19:55 UTC |
1.0.0 | 2015-02-17 03:52:37 UTC |
Showing the 3 most recent of 3 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 | 1.0.1 |
node 18 | 1.0.1 |
node 20 | 1.0.1 |
node 22 | 1.0.1 |
node 24 | 1.0.1 |
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 trim-right?
The latest stable version of trim-right is 2.0.0, published on 2021-04-21. Verified by Vigia on 2026-11-12.
How do I install the latest version of trim-right?
Run npm install trim-right@latest. The latest stable version is 2.0.0 (verified 2026-11-12).
Is trim-right deprecated?
Yes. The registry marks trim-right as deprecated. Message from the maintainers: "Deprecated. Use `String#trimEnd()` instead."
Which Node.js version does trim-right require?
trim-right 2.0.0 declares this requirement: {"node":">=12"}.
Does trim-right 2.0.0 have known vulnerabilities?
No known advisories affect trim-right 2.0.0 according to the data Vigia checks.
Is trim-right still maintained?
trim-right published 0 stable releases in the last 12 months; the most recent was 2031 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- is-gzip
- bin-version-check
- robots-parser
- @expo/devtools
- @types/mapbox__point-geometry
- @unrs/resolver-binding-darwin-x64
- proxy-compare
- fs-exists-sync
- @expo/config
- @lexical/list
- @isaacs/string-locale-compare
- mailparser
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/trim-right) [](https://vigia.coredls.cloud/npm/trim-right) [](https://vigia.coredls.cloud/npm/trim-right)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/trim-right
GET https://vigia.coredls.cloud/v1/packages/npm/trim-right/versions/{version}