npm · npm:trim-repeated
trim-repeated active
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
The latest stable version of trim-repeated 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 11:42:06 UTC |
| Install | npm install trim-repeated@latest |
| 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 15:51:15 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 11:42:06 UTC · 2031 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 2 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.0 | 2021-04-21 11:42:06 UTC |
1.0.0 | 2015-01-13 16:27:43 UTC |
Showing the 2 most recent of 2 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 | 2.0.0 |
node 18 | 2.0.0 |
node 20 | 2.0.0 |
node 22 | 2.0.0 |
node 24 | 2.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-repeated?
The latest stable version of trim-repeated 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-repeated?
Run npm install trim-repeated@latest. The latest stable version is 2.0.0 (verified 2026-11-12).
Is trim-repeated deprecated?
No. trim-repeated is not marked as deprecated in the registry.
Which Node.js version does trim-repeated require?
trim-repeated 2.0.0 declares this requirement: {"node":">=12"}.
Does trim-repeated 2.0.0 have known vulnerabilities?
No known advisories affect trim-repeated 2.0.0 according to the data Vigia checks.
Is trim-repeated still maintained?
trim-repeated 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
- @tailwindcss/typography
- @opentelemetry/resource-detector-azure
- node-machine-id
- yocto-spinner
- superstruct
- strip-outer
- into-stream
- babel-plugin-react-native-web
- @storybook/react-dom-shim
- @npmcli/arborist
- mquery
- abitype
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-repeated) [](https://vigia.coredls.cloud/npm/trim-repeated) [](https://vigia.coredls.cloud/npm/trim-repeated)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/trim-repeated
GET https://vigia.coredls.cloud/v1/packages/npm/trim-repeated/versions/{version}