handle-backspaces
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

handle-backspaces

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

import handleBackspaces from 'handleBackspaces';

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

LICENSE

Apache-2.0

Readme

Keywords

Package Sidebar

Install

npm i handle-backspaces

Weekly Downloads

35,376

Version

2.0.1

License

Apache-2.0

Unpacked Size

15.2 kB

Total Files

7

Last publish

Collaborators

  • mongodb-js-user
  • rueckstiess
  • durran
  • alexander_schroll
  • mbroadst
  • hswolff
  • satyasinha
  • matt_d_rat
  • jeff-allen-mongo
  • jonathan.balsano
  • mongodb-build
  • jack.weir
  • mcasimir
  • kristina.stefano
  • jarjee
  • shaketbaby
  • devtoolsbot
  • addaleax
  • gribnoysup
  • mutukrish
  • mongo-j
  • nbbeeken
  • dbx-node
  • nirinchev
  • pearsb1