v1.0.0 has been released🎉
After a hard work, thanks to @calebeno v1.0.0
has been released
- added test cases, covered all statements/lines/branches, fixed some bugs, you can use truncate-html with faith
- added new option reserveLastWord to deal with when truncate in the middle of a word
- supports ES6 Modules, optimized for webpack/rollup
- upgraded
cheerio
tov0.22.0