Vigia

npm · npm:trim-newlines

trim-newlines active

Trim newlines from the start and/or end of a string

The latest stable version of trim-newlines is 5.0.0, published on 2023-03-20. Verified by Vigia on 2026-11-12.

Latest stable version5.0.0
Published2023-03-20 17:36:52 UTC
Installnpm install trim-newlines@latest
Requires (engines){"node":">=14.16"}
Peer dependencies—
Dist-tags3-0-1: 3.0.1 latest: 5.0.0
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 13:59:09 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Maintenance

Activitydormant
Last stable release2023-03-20 17:36:52 UTC · 1333 days ago
Stable releases in the last 12 months0
Published versions10

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

Version history

VersionPublished
5.0.02023-03-20 17:36:52 UTC
4.1.12023-03-20 17:30:09 UTC
4.1.02023-03-20 17:28:04 UTC
4.0.22021-06-10 16:11:33 UTC
3.0.12021-05-28 16:46:12 UTC
4.0.12021-05-28 16:43:07 UTC
4.0.02021-04-21 11:47:23 UTC
3.0.02019-04-29 04:28:32 UTC
2.0.02017-04-22 13:06:15 UTC
1.0.02015-09-29 09:28:27 UTC

Showing the 10 most recent of 10 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 165.0.0
node 185.0.0
node 205.0.0
node 225.0.0
node 245.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 trim-newlines?

The latest stable version of trim-newlines is 5.0.0, published on 2023-03-20. Verified by Vigia on 2026-11-12.

How do I install the latest version of trim-newlines?

Run npm install trim-newlines@latest. The latest stable version is 5.0.0 (verified 2026-11-12).

Is trim-newlines deprecated?

No. trim-newlines is not marked as deprecated in the registry.

Which Node.js version does trim-newlines require?

trim-newlines 5.0.0 declares this requirement: {"node":">=14.16"}.

Does trim-newlines 5.0.0 have known vulnerabilities?

No known advisories affect trim-newlines 5.0.0 according to the data Vigia checks.

Is trim-newlines still maintained?

trim-newlines published 0 stable releases in the last 12 months; the most recent was 1333 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-newlines/version.svg)](https://vigia.coredls.cloud/npm/trim-newlines)
[![maintained](https://vigia.coredls.cloud/badge/npm/trim-newlines/maintained.svg)](https://vigia.coredls.cloud/npm/trim-newlines)
[![status](https://vigia.coredls.cloud/badge/npm/trim-newlines/status.svg)](https://vigia.coredls.cloud/npm/trim-newlines)

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/trim-newlines
GET https://vigia.coredls.cloud/v1/packages/npm/trim-newlines/versions/{version}