# strip-formatting

> Removes leading whitespace from each line of input

Latest version **1.0.2** (published 2016-10-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install strip-formatting
pnpm add strip-formatting
yarn add strip-formatting
bun add strip-formatting
```

## 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.2 |
| Published | 2016-10-13 |
| First published | 2016-08-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Vigour.io |
| Maintainers | vigour-io |
| Keywords | formatting, strip, whitespace |

## Links

- npm: https://www.npmjs.com/package/strip-formatting
- Repository: https://github.com/vigour-io/strip-formatting
- Homepage: https://github.com/vigour-io/strip-formatting#readme
- Issues: https://github.com/vigour-io/strip-formatting/issues
- npm.io page: https://npm.io/package/strip-formatting

## Dependencies (1)

- [bubleify](https://npm.io/package/bubleify.md) ^0.5.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2016-10-13
- 1.0.1 — 2016-10-07
- 1.0.0 — 2016-08-04

## README

# strip-formatting

<!-- VDOC.badges travis; standard; npm; coveralls -->
<!-- DON'T EDIT THIS SECTION (including comments), INSTEAD RE-RUN `vdoc` TO UPDATE -->
[![Build Status](https://travis-ci.org/vigour-io/strip-formatting.svg?branch=master)](https://travis-ci.org/vigour-io/strip-formatting)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![npm version](https://badge.fury.io/js/strip-formatting.svg)](https://badge.fury.io/js/strip-formatting)
[![Coverage Status](https://coveralls.io/repos/github/vigour-io/strip-formatting/badge.svg?branch=master)](https://coveralls.io/github/vigour-io/strip-formatting?branch=master)

<!-- VDOC END -->

<!-- VDOC.jsdoc stripFormatting -->
<!-- DON'T EDIT THIS SECTION (including comments), INSTEAD RE-RUN `vdoc` TO UPDATE -->
#### var stripped = stripFormatting(val)

Removes leading whitespace from each line of input
- **val** (*string*) - The string to strip formatting from

<!-- VDOC END -->

```javascript
const stripFormatting = require('strip-formatting')
stripFormatting(`
<html>
  <head>
    <title>whatever</title>
  </head>
  ...
`)
```

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