Acidjs is a robust, modern, modular, & async focused Javascript utility library.
npm i @universalweb/acid
(Case sensitive)
import { isArray } from '@universalweb/acid';
import * as utility from '@universalweb/acid';
const { isArray } = require('@universalweb/acid');
const utility = require('@universalweb/acid');
import { isArray } from './browser.es.js';
import * as utility from './browser.es.js';
<script id="AcidLib" data-index="main.js" defer src="browser.js"></script>
After the document is ready Acid looks for the id of "AcidLib".
If a "data-index" attribute is found it'll use the value as a URL (default URL is "/index.js") and import it as a script.
All methods are available from the root object $ or can be imported using import export syntax found in the module folder.
If extreme tree shaking and compression is required use the source folder located on the github repo.
© copyright 2025 Universal Web