Apply backspace characters to a string or UTF-8 Buffer.
import handleBackspaces from 'handleBackspaces';
const input = 'abc\u0008def';
const output = handleBackspaces(input);
// output === abdef
Apache-2.0
Apply backspace characters to a string or UTF-8 Buffer
Apply backspace characters to a string or UTF-8 Buffer.
import handleBackspaces from 'handleBackspaces';
const input = 'abc\u0008def';
const output = handleBackspaces(input);
// output === abdef
Apache-2.0
Apply backspace characters to a string or UTF-8 Buffer
Apache License 2.0