Chirashi.js is a utils library meant to make DOM manipulation and events management easier and faster to read and write without adding overcomplecated internal logic.
The library designed as modules of single functions allowing to reduce size of your production build to only the needed code (thanks to esnext modules).
Find API documentation, guide and more on chirashi.js.org.
Using npm / yarn (recommended)
yarn add chirashi
npm i --save chirashi
Now you can import methods in your project:
You can download chirashi.js or chirashi.min.js and load it using a script tag. You can also use CDN version of those files from unpkg using the link https://firstname.lastname@example.org/dist/chirashi.min.js. It'll create an instance of Chirashi on your window. Then use as following example