You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.
html="Returns a subset of a string, composed, by complete subsets found using delimeter between min and max length. If no complete subsets are found, returns a subset using length max and ellipsis."
var excerptHtml = require('excerpt-html');
var excerpt = excerptHtml(html,{
stripTags: true, // Set to false to get html code
pruneLength: 50, // Amount of characters that the excerpt should contain