# handle-backspaces

> Apply backspace characters to a string or UTF-8 Buffer

Latest version **2.0.1** (published 2024-05-10) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install handle-backspaces
pnpm add handle-backspaces
yarn add handle-backspaces
bun add handle-backspaces
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2024-05-10 |
| First published | 2021-04-12 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 14.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | orechova, himanshusinghs, c-buckingham, mongo-j, mabaasit, alexander_schroll, chuck.kalmanek, mongodb-js-user, rueckstiess, durran, lerouxb, fredtruman, mbroadst, hswolff, satyasinha, matt_d_rat, rhysm, tomhollander, alena.khineika, jeff-allen-mongo, mmarcon, jonathan.balsano, mongodb-build, jack.weir, stennie, mcasimir, kristina.stefano, jarjee, shaketbaby, devtoolsbot, addaleax, gribnoysup, mutukrish |
| Keywords | backspace |

## Links

- npm: https://www.npmjs.com/package/handle-backspaces
- Repository: https://github.com/mongodb-js/handle-backspaces
- Issues: https://github.com/mongodb-js/handle-backspaces/issues
- npm.io page: https://npm.io/package/handle-backspaces

## Recent versions

- 2.0.1 (latest) — 2024-05-10
- 2.0.0 — 2024-05-10
- 1.0.0 — 2021-04-12

## README

# handle-backspaces

Apply backspace characters to a string or UTF-8 Buffer.

```js
import handleBackspaces from 'handleBackspaces';

const input = 'abc\u0008def';
const output = handleBackspaces(input);
// output === abdef
```

## LICENSE

Apache-2.0

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