A replacement, using plain javascript and ES6 module syntax, for jQuery's .ready() to run codes after the document is ready.
npm install es6-docready --save
import DocReady from 'es6-docready'
DocReady( () => {
...
} )
MIT
Document ready listener using plain javascript and ES6 module syntax
JavaScriptMIT