Newfoundland Pitbull Mix

    Acid

    3.0.17 • Public • Published

    What is Acid?

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

    INSTALL Acid

    npm i Acid (Case sensitive)

    NodeJS Module Import Syntax

    const { isArray } = require('Acid');
    const utility = require('Acid');

    ES Module Import Syntax

    import { isArray } from 'Acid';
    import * as utility from 'Acid';

    ES Browser Module Import Syntax

    import { isArray } from './Acid/browser.es.js';
    import * as utility from './Acid/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
    Sentivate
    Universal Web
    Tom Marchi

    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 2022 Universal Web, Inc

    Install

    npm i Acid

    Homepage

    acidjs.com

    DownloadsWeekly Downloads

    53

    Version

    3.0.17

    License

    ISC

    Unpacked Size

    77.2 kB

    Total Files

    8

    Last publish

    Collaborators

    • tomekmarchi