npm · npm:trim-newlines
trim-newlines active
Trim newlines from the start and/or end of a string
| Latest stable version | 5.0.0 |
|---|---|
| Published | 2023-03-20 17:36:52 UTC |
| Requires (engines) | {"node":">=14.16"} |
| Peer dependencies | — |
| Dist-tags | 3-0-1: 3.0.1 latest: 5.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-09-28 08:54:43 UTC |
| Sources | registry.npmjs.org, registry.npmjs.org, api.deps.dev |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2023-03-20 17:36:52 UTC · 1288 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 10 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
5.0.0 | 2023-03-20 17:36:52 UTC |
4.1.1 | 2023-03-20 17:30:09 UTC |
4.1.0 | 2023-03-20 17:28:04 UTC |
4.0.2 | 2021-06-10 16:11:33 UTC |
3.0.1 | 2021-05-28 16:46:12 UTC |
4.0.1 | 2021-05-28 16:43:07 UTC |
4.0.0 | 2021-04-21 11:47:23 UTC |
3.0.0 | 2019-04-29 04:28:32 UTC |
2.0.0 | 2017-04-22 13:06:15 UTC |
1.0.0 | 2015-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
- select-hose
- @sentry-internal/replay
- @types/tedious
- @jsonjoy.com/util
- traverse
- @yarnpkg/lockfile
- @radix-ui/react-slider
- blake3-wasm
- postcss-svgo
- @sentry-internal/browser-utils
- @types/jsdom
- ecc-jsbn
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/trim-newlines
GET https://vigia.coredls.cloud/v1/packages/npm/trim-newlines/versions/{version}