@eagleirons/eaglejs

EagleJS is a jQuery-Like DOM manipulation library for modern browsers

Usage no npm install needed!

<script type="module">
  import eagleironsEaglejs from 'https://cdn.skypack.dev/@eagleirons/eaglejs';
</script>

README

EagleJS

NPM DeepScan grade Total alerts Language grade: JavaScript Minified Minified+Gzipped

EagleJS is a jQuery-Like DOM manipulation library for modern browsers.

  • Powered with EcmaScript 6 and Modern DOM functions
  • Subclass of Array for better collection management
  • Supports CSS3 selectors
  • Lightweight: Minified < 6 KB & Minified+Gzipped < 2 KB
  • JavaScript Standard Style codes
  • Documented with JSDoc

Installation

CDN

https://www.jsdelivr.com/package/npm/@eagleirons/eaglejs

NPM

npm install @eagleirons/eaglejs

Usage

Script tag

Include the script file on top of other scripts that requires EagleJS.

<script src="eaglejs.min.js"></script>
<script>
  $(document).ready(function () {
    // Call when DOM is completely loaded
  });
</script>

ES6 Module

import { EagleJSProxy as $ } from 'eaglejs.esm.js';

$(document).ready(function () {
  // Call when DOM is completely loaded
});

Browser Support

For a detailed view, please check the table on caniuse.com.

Desktop (Last two versions)

  • Chrome
  • Edge 16+
  • Firefox
  • Safari 10.1+

Mobile (Latest versions)

  • Chrome
  • Firefox
  • iOS Safari 10.3+

Documentation