New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

custom-truncate

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-truncate

Javascript string truncate using custom method

latest
Source
npmnpm
Version
0.9.3
Version published
Maintainers
1
Created
Source

custom-truncate

Truncate string using custom method.

I wrote this package because I need to truncate and split long string message to be send by SMS or some messaging services like Telegram.

It is still on alpha development version. Only support 'line' method now. Future API might be broken with current version.

It will implements truncate methods like:

  • lines
  • words

TODO: complete this package and write nice documentation.

Keywords

string

FAQs

Package last updated on 29 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts