dots

0.1.0 • Public • Published

dots Build Status

Truncate string

Install

$ npm install --save dots

Usage

const dots = require('dots');
 
dots('unicorn', 4);
//=> 'uni…'

License

MIT © Sindre Sorhus

/dots/

    Package Sidebar

    Install

    npm i dots

    Weekly Downloads

    55

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • sindresorhus