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

Readme

Keywords

Package Sidebar

Install

npm i dots

Weekly Downloads

48

Version

0.1.0

License

MIT

Last publish

Collaborators

  • sindresorhus