# unindenter

> Unindents a string by a maxiumum possible number of white space present on each line.

Latest version **4.0.0** (published 2016-02-07) · 0 weekly downloads

## Install

```sh
npm install unindenter
pnpm add unindenter
yarn add unindenter
bun add unindenter
```

## 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 | 4.0.0 |
| Published | 2016-02-07 |
| First published | 2014-01-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alex Gorbatchev |
| Maintainers | alexgorbatchev |
| Keywords | tabs, unindenter |

## Links

- npm: https://www.npmjs.com/package/unindenter
- Repository: https://github.com/syntaxhighlighter/unindenter
- Issues: https://github.com/syntaxhighlighter/unindenter/issues
- npm.io page: https://npm.io/package/unindenter

## Recent versions

- 4.0.0 (latest) — 2016-02-07
- 0.5.1 — 2014-01-05
- 0.5.0 — 2014-01-04

## README

# unindenter

[![GratiPay](https://img.shields.io/gratipay/user/alexgorbatchev.svg)](https://gratipay.com/alexgorbatchev/)
[![Build Status](https://travis-ci.org/syntaxhighlighter/unindenter.svg)](https://travis-ci.org/syntaxhighlighter/unindenter)
[![Coverage](https://img.shields.io/codecov/c/github/syntaxhighlighter/unindenter.svg)](https://codecov.io/github/syntaxhighlighter/unindenter)
![Downloads](https://img.shields.io/npm/dm/unindenter.svg)
![Version](https://img.shields.io/npm/v/unindenter.svg)

Unindents a block of text by the lowest common indent amount. This is useful when you want to remove extra indentantion on a code block.

## Installation

```
npm install unindenter
```

## Usage Example

```js
var unindenter = require('unindenter');
unindenter.unindent('\t\tline 1\n\t\tline 2\n\t\t\tline 3');

line 1
line 2
    line 3
```

## Testing

```
npm test
```

## License

GPL & MIT

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