ansi-slice 1.0.3
Extracts a section of a string containing ANSI escape codes.
ansi-slice@1.0.3 was published on 2015-09-13. Its manifest declares 3 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
Deprecated: Deprecated in favor of https://github.com/chalk/slice-ansi.
All ansi-slice versions · Permanent reference to 1.0.3 · Latest release
Package specifications
| Version | 1.0.3 |
|---|---|
| License declaration | Not declared |
| Published | 2015-09-13T23:33:53.001Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | ./dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 3 |
| Repository stars | 3 |
| Repository forks | 2 |
Install ansi-slice 1.0.3
npm install ansi-slice@1.0.3 pnpm add ansi-slice@1.0.3 yarn add ansi-slice@1.0.3
Runtime dependencies
- ansi-regex ^2.0.0
- splice-string ^1.0.0
- strip-ansi ^3.0.0
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.
- ansi-regex@2.1.1 — direct
- splice-string@1.0.0 — direct
- strip-ansi@3.0.1 — direct
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.
| Code-Review | 0/10 — Found 0/16 approved changesets -- score normalized to 0 |
|---|---|
| SAST | 0/10 — no SAST tool detected |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 9/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
Evidence and freshness
- https://registry.npmjs.org/ansi-slice/1.0.3 — retrieved 2026-10-30T01:12:22.173Z
- https://api.deps.dev/v3/projects/github.com%2Fgajus%2Fansi-slice — retrieved 2026-10-29T23:42:18.818Z
- https://api.deps.dev/v3/systems/npm/packages/ansi-slice/versions/1.0.3 — retrieved 2026-10-30T01:12:22.673Z
- https://api.deps.dev/v3/systems/npm/packages/ansi-slice/versions/1.0.3:dependencies — retrieved 2026-10-30T01:12:22.722Z