node-slice
v2.0.1
Published
🔨 Short version of your strings!
Downloads
294
Readme
node-slice
🔨 Short version of your strings!
Install
npm install node-slice
Usage
// CommonJS
const slice = require('node-slice');
// or ES Modules
import slice from 'node-slice';
slice('the best cookie in the world', 9); // => "the best..."
License
The MIT License @ 2016-2024