0.9.3 • Published 5 years ago

custom-truncate v0.9.3

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

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.