# detabbify

> Browserify transform to strip tabs from bundles

Latest version **0.1.11** (published 2024-08-20) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.11 |
| Published | 2024-08-20 |
| First published | 2016-01-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Pat Cavit |
| Maintainers | tivac, kevinkace |
| Keywords | browserify, browserify-transform, tabs, spaces |

## Links

- npm: https://www.npmjs.com/package/detabbify
- Repository: https://github.com/arenanet/detabbify
- Homepage: https://github.com/arenanet/detabbify#readme
- Issues: https://github.com/arenanet/detabbify/issues
- npm.io page: https://npm.io/package/detabbify

## Dependencies (1)

- [through2](https://npm.io/package/through2.md) ^4.0.2

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.1.11 (latest) — 2024-08-20
- 0.1.10 — 2024-06-04
- 0.1.9 — 2024-06-04
- 0.1.8 — 2023-01-29
- 0.1.7 — 2021-05-11
- 0.1.6 — 2020-03-23
- 0.1.5 — 2019-06-14
- 0.1.4 — 2019-06-05
- 0.1.1 — 2016-01-29
- 0.1.0 — 2016-01-29

## README

# detabbify

[![NPM Version](https://img.shields.io/npm/v/detabbify.svg)](https://www.npmjs.com/package/detabbify)
[![test](https://github.com/arenanet/detabbify/actions/workflows/test.yml/badge.svg)](https://github.com/arenanet/detabbify/actions/workflows/test.yml)
[![license: MIT](https://img.shields.io/npm/l/detabbify.svg)](https://github.com/arenanet/detabbify/blob/master/package-lock.json)
[![downloads](https://img.shields.io/npm/dm/detabbify.svg)](https://www.npmjs.com/package/detabbify)


Replace tabs with spaces when running files through browserify.

## Options

### spaces

Configure how many spaces each `\t` character will be replaced with. Defaults to **4 spaces**.

## Usage

### CLI

```console
// Recommended to run globally
$ browserify ./file-with-spaces.js -g detabbify ./output.js

// Specify number of spaces
$ browserify ./file-with-spaces.js -g [ detabbify --spaces 4 ] ./output.js
```

### API
```js
var build = browserify("./file-with-spaces.js");

// Recommended to run globally
build.transform(detabbify, { global : true });

// Specify number of spaces
build.transform(detabbify, { global : true, spaces : 4 });
```

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