A vanilla JS fork of Lettering.js. Follow along in the tutorial video at https://gomakethings.com/converting-a-jquery-plugin-to-vanilla-js-lettering.js/.
Pass in a selector for the elements you want to run Vanilla Lettering.js on.
<h1 class="letters">Hello there, friend!</h1>
var lettering = new Lettering('.letters');
Next, run the lettering method you want on the instance.
// Each letter
lettering.letters();
// Each word
lettering.words();
// Each line
lettering.lines();