PureJS is a pack of pure javascript, non-jquery, functions exported as Node.js modules.
Install the package as your project dependency
npm install @runroom/purejs
Use it importing the whole library or the methods you need
import events from "@runroom/purejs/lib/events";
events.onDocumentReady(() => {
// your code
});