Vigia

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 version2.0.0
Published2021-04-21 10:54:15 UTC
Installnpm install trim-right@latest
DeprecationDeprecated. Use `String#trimEnd()` instead.
Requires (engines){"node":">=12"}
Peer dependencies—
Dist-tagslatest: 2.0.0
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 12:04:37 UTC
Sourcesapi.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

Activitydormant
Last stable release2021-04-21 10:54:15 UTC · 2031 days ago
Stable releases in the last 12 months0
Published versions3

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
2.0.0 withdrawn2021-04-21 10:54:15 UTC
1.0.12015-07-15 20:19:55 UTC
1.0.02015-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).

RuntimeNewest compatible version
node 161.0.1
node 181.0.1
node 201.0.1
node 221.0.1
node 241.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

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/trim-right/version.svg)](https://vigia.coredls.cloud/npm/trim-right)
[![maintained](https://vigia.coredls.cloud/badge/npm/trim-right/maintained.svg)](https://vigia.coredls.cloud/npm/trim-right)
[![status](https://vigia.coredls.cloud/badge/npm/trim-right/status.svg)](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}