# retabber

> Replaces all tab characters with in a smart way, spaces similiar to what your regular IDE does.

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

## Install

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

## 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 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Alex Gorbatchev |
| Maintainers | alexgorbatchev |
| Keywords | tabs, smart |

## Links

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

## Recent versions

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

## README

# retabber

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

Replaces all tab characters with spaces in a smart way so that columns visually align, similiar to what your regular IDE does.

## Installation

```
npm install retabber
```

## Usage Example

```js
var retabber = require('retabber');
retabber.smart('1\t2\nheh\t2', 4);
1   2
heh 2

retabber.regular('1\t2\nheh\t2', 4);
1    2
heh    2
```

## Testing

```
npm test
```

## License

MIT

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