string-trim-spaces-only 2.7.25
Like String.trim() but trims only spaces
string-trim-spaces-only@2.7.25 was published on 2019-06-18. Its manifest declares 1 runtime dependency and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=8.9.
All string-trim-spaces-only versions · Permanent reference to 2.7.25 · Latest release
Package specifications
| Version | 2.7.25 |
|---|---|
| License declaration | MIT |
| Published | 2019-06-18T05:47:44.490Z |
| Node.js requirement | >=8.9 |
| Type declarations | Not declared |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 47.41 KiB |
| Published file count | 6 |
| Package type | Not declared |
| ES module entry | dist/string-trim-spaces-only.esm.js |
| Default entry | dist/string-trim-spaces-only.cjs.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 12 |
| Repository stars | 214 |
| Repository forks | 25 |
Install string-trim-spaces-only 2.7.25
npm install string-trim-spaces-only@2.7.25 pnpm add string-trim-spaces-only@2.7.25 yarn add string-trim-spaces-only@2.7.25
Runtime dependencies
- check-types-mini ^5.7.21
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/runtime@7.29.10 — indirect
- arrayiffy-if-string@3.14.0 — indirect
- ast-monkey-traverse@1.13.1 — indirect
- ast-monkey-util@1.4.0 — indirect
- check-types-mini@5.9.1 — direct
- escape-string-regexp@4.0.0 — indirect
- lodash.clonedeep@4.5.0 — indirect
- lodash.intersection@4.4.0 — indirect
- lodash.pullall@4.2.0 — indirect
- matcher@3.0.0 — indirect
- object-path@0.11.8 — indirect
- type-detect@4.1.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Code-Review | 0/10 — Found 0/23 approved changesets -- score normalized to 0 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Security-Policy | 0/10 — security policy file not detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| License | 10/10 — license file detected |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| Branch-Protection | 3/10 — branch protection is not maximal on development and all release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
| Fuzzing | 0/10 — project is not fuzzed |
Evidence and freshness
- https://registry.npmjs.org/string-trim-spaces-only/2.7.25 — retrieved 2026-10-30T16:04:56.558Z
- https://api.deps.dev/v3/projects/github.com%2Fcodsen%2Fcodsen — retrieved 2026-10-30T11:15:08.078Z
- https://api.deps.dev/v3/systems/npm/packages/string-trim-spaces-only/versions/2.7.25 — retrieved 2026-10-30T16:04:56.987Z
- https://api.deps.dev/v3/systems/npm/packages/string-trim-spaces-only/versions/2.7.25:dependencies — retrieved 2026-10-30T16:04:57.013Z