handle-backspaces
Apply backspace characters to a string or UTF-8 Buffer
Last updated 5 years ago by addaleax .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install handle-backspaces 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago

Copyright 2013 - present © cnpmjs.org | Home |