truncate Truncate text with Unicode-aware word boundary handling utils-truncate log Utils index.js Strings Uses Intl.Segmenter for locale-aware word segmentation when available, making it ideal for international applications ["utils","strings","truncate","unicode","emoji","i18n","locale"] Example
Categories