@dataak/string-cutter

1.0.0 • Public • Published

@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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @dataak/string-cutter

      Weekly Downloads

      1

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      1.1 kB

      Total Files

      4

      Last publish

      Collaborators

      • m.rahimi
      • m.darbandi