# ansi-substring

> substring ANSI

Latest version **1.0.3** (published 2016-04-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install ansi-substring
pnpm add ansi-substring
yarn add ansi-substring
bun add ansi-substring
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2016-04-15 |
| First published | 2016-02-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | seokjun hong |
| Maintainers | se0kjun |
| Keywords | ansi, substring, slice, substr |

## Links

- npm: https://www.npmjs.com/package/ansi-substring
- Repository: https://github.com/se0kjun/ansi-substring
- Homepage: https://github.com/se0kjun/ansi-substring#readme
- Issues: https://github.com/se0kjun/ansi-substring/issues
- npm.io page: https://npm.io/package/ansi-substring

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2016-04-15
- 1.0.2 — 2016-04-13
- 1.0.1 — 2016-04-13
- 1.0.0 — 2016-02-26

## README

#ansi-substring

[![npm version](https://badge.fury.io/js/ansi-substring.svg)](https://badge.fury.io/js/ansi-substring)

##Install

	npm install ansi-substring --save

##Development

	git clone https://github.com/se0kjun/ansi-substring.git
	cd ./ansi-substring
	npm install --dev
	npm test

##Usage

	var ansiSubstr = require('ansi-substring');

	var ansiString = '\u001b[48;5;15m\u001b[38;5;9mtest\u001b[39m\u001b[49m';
	ansiSubstr(ansiString, 2, 4);

	> '\u001b[48;5;15m\u001b[38;5;9mst\u001b[39m\u001b[49m'

##LICENSE

MIT © [Seokjun Hong](https://github.com/se0kjun)

---
_Source: https://npm.io/package/ansi-substring · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
