# @alloc/change-indent

> Change the indentation in a string.

Latest version **0.1.1** (published 2021-04-16) · 0 weekly downloads

## Install

```sh
npm install @alloc/change-indent
pnpm add @alloc/change-indent
yarn add @alloc/change-indent
bun add @alloc/change-indent
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2021-04-16 |
| First published | 2021-04-16 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Jon Schlinkert |
| Maintainers | aleclarson |
| Keywords | change, code, detect, format, formatter, formatting, identify, indent, indentation, indentations, indented, line, normalize, pad, paragraph, re-format, re-indent, reformat, reindent, remove, source, space, str, string, strip, tab, text, text-indent, un-indent, unindent, whitespace |

## Links

- npm: https://www.npmjs.com/package/@alloc/change-indent
- Repository: https://github.com/jonschlinkert/change-indent
- Issues: https://github.com/jonschlinkert/change-indent/issues
- npm.io page: https://npm.io/package/@alloc/change-indent

## Dependencies (1)

- [strip-comments](https://npm.io/package/strip-comments.md) ^0.2.0

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2021-04-16
- 0.1.0 — 2021-04-16

## README

# change-indent [![NPM version](https://badge.fury.io/js/change-indent.png)](http://badge.fury.io/js/change-indent)

> Change the indentation in a string.

## Install
#### Install with [npm](npmjs.org):

```bash
npm i change-indent --save-dev
```

## Usage

```js
var changeIndent = require('change-indent');
change(string, indent);
```

* `string` **{String}** pass the string you want to re-indent
* `indent` **{Number}** the amount of indentation

**Example:**

```js
var changeIndent = require('change-indent');
change('  abc', 4);

//=> '    abc'
```

## Author

**Jon Schlinkert**
 
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) 

## License
Copyright (c) 2014 Jon Schlinkert, contributors.  
Released under the MIT license

***

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 11, 2014._

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