1.0.0 • Published 6 years ago

@dataak/string-cutter v1.0.0

Weekly downloads
4
License
ISC
Repository
-
Last release
6 years ago

@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