str-backspace
v1.0.0
Published
Backspace strings
Downloads
5
Readme
str-backspace
Backspace strings
Installation
npm install --save str-backspace
Usage
import backspace from 'str-backspace';
backspace('Lorem ipsum');
// ==> Lorem ipsu
backspace('Lorem ipsum', 6);
// ==> Lorem
Test
npm install
npm test
License
MIT © Filipe Linhares