zazzy-browser

    2.0.0 • Public • Published

    zazzy-browser (zzb)

    A collection of general-purpose browser utilities used as higher-level building-blocks to assist in client-server communications.

    zzb has no dependencies on jquery or lodash), unlike the prior version. Dialogs have been retained and follow Bootstrap5 html and css.

    Note: versions < 2.0.0 has been placed in branch version1. The older versions depend on jquery, lodash and bootstrap.

    What is inside

    zzb gets automatically loaded into the browser global cache and is referenced via zzb.

    • zzb.types: data type operations
    • zzb.uuid: uuid functions
    • zzb.strings: string functions
    • zzb.rob: uniform return object (rob) functions
    • zzb.ajax: ajax helpers with promises
    • zzb.dialogs: compatible with bootstrap5
    • zzb.perms: permissions
    • zzb.dom: helpful dom functions

    Usage

    Include in your html page:

    <script src="dist/zzb.js"></script>

    Build

    Run the npm script to generate javascript distribution files, including the minified version.

    $ npm run dist

    Testing

    For dialog testing, open test/index-test.html in a browser. You should see a dialog pop-up.

    Mocha tests can be run via npm.

    $ npm test

    MIT Licensed

    Install

    npm i zazzy-browser

    DownloadsWeekly Downloads

    124

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    209 kB

    Total Files

    23

    Last publish

    Collaborators

    • jpfluger