mongodb-js / handle-backspaces

Apply backspace characters to a string or UTF-8 Buffer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Apply backspace characters to a string or UTF-8 Buffer

License:Apache License 2.0


Languages

Language:TypeScript 100.0%