@aftermark/longlist-tagger
Aftermark plugin that adds a class to <ul> and <ol> elements containing more than a specified number of child <li> elements.
Usage no npm install needed!
<script type="module">
import aftermarkLonglistTagger from 'https://cdn.skypack.dev/@aftermark/longlist-tagger';
</script>