/Acid

Acid is a modern, performant, async focused, and compact utility library.

Primary LanguageJavaScriptISC LicenseISC

What is Acidjs?

Acidjs is a robust, modern, modular, & async focused Javascript utility library.

INSTALL Acidjs

npm i @universalweb/acid (Case sensitive)

ES Module Import Syntax

import { isArray } from '@universalweb/acid';
import * as utility from '@universalweb/acid';

Require Syntax

const { isArray } = require('@universalweb/acid');
const utility = require('@universalweb/acid');

ES Browser Module Import Syntax

import { isArray } from './browser.es.js';
import * as utility from './browser.es.js';

Script tag

<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.


LINKS

Documentation
Universal Web

Methods

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