add-ellipses
v2.0.4
Published
This library help you to add custom ellipses in your paragraph easily
Downloads
3
Readme
add-ellipses-library
import {addElipsis} from "add-ellipses"
[input] = addElipsis("I am a best software engineer", 10)
[output] = I am a bes...
Custom ellipsis
[input] = addElipsis("I am a best software engineer", 10, ">>>")
[output] = I am a bes>>>
Installation
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 0.10 or higher is required.
Installation is done using the
npm install
command:
$ npm install add-ellipses
Follow our installing guide for more information.