1.0.1 • Published 2 years ago
@apolitical/common-helpers-truncate-text v1.0.1
Common Helpers - truncateText
Node.js module to expose functionality to truncate text
Current function
- truncateText
- Takes a string and a number of characters to truncate from. Returns either the truncated string or the original string