Vigia

npm · npm:trim-newlines

trim-newlines active

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

Latest stable version5.0.0
Published2023-03-20 17:36:52 UTC
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-09-28 08:54:43 UTC
Sourcesregistry.npmjs.org, registry.npmjs.org, api.deps.dev

Maintenance

Activitydormant
Last stable release2023-03-20 17:36:52 UTC · 1288 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

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-09-28.

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 1288 days ago. Activity: dormant.

Observed changes

No changes observed yet since Vigia started tracking this package.

Related packages

For agents

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