@dataak/string-cutter
v1.0.0
Published
Separating the part of the text
Downloads
1
Readme
@dataak/string-cutter
Separating the part of the text.
Install
$ npm install @dataak/string-cutter
Usage
const strcutter = require("@dataak/string-cutter");
strcutter("Separating the part of the text.", 10);
//=> "Separating ..."
strcutter(1234);
//=> Uncaught TypeError: strcutter wants a string!
// at strcutter (<anonymous>:2:41)
// at <anonymous>:1:1