Skip to content

v1.0.0 has been released🎉

Choose a tag to compare

@oe oe released this 18 Mar 15:51
· 75 commits to main since this release

After a hard work, thanks to @calebeno v1.0.0 has been released

  1. added test cases, covered all statements/lines/branches, fixed some bugs, you can use truncate-html with faith
  2. added new option reserveLastWord to deal with when truncate in the middle of a word
  3. supports ES6 Modules, optimized for webpack/rollup
  4. upgraded cheerio to v0.22.0