JSFiddle - React, Tailwind, and code Playground

HTML

<script async src="https://cdn.jsdelivr.net/gh/HippotecLTD/[email protected]/dist/jquery.jeditable.charcounter.realworld.min.js"></script>
<script async src="https://cdn.jsdelivr.net/gh/HippotecLTD/[email protected]/dist/jquery.charcounter.realworld.min.js"></script>

<textarea id='example'>Hello</textarea>

JavaScript

$('#example').charCounter(20, {
	formatUp: "(%1 characters typed)"
});