EagleJS is a jQuery-Like DOM manipulation library for modern browsers.
- Powered with EcmaScript 7 and Modern DOM functions
- Subclass of Array for better collection management
- Supports CSS3 selectors
- Lightweight: Minified < 5 KB & Minified+Gzipped < 1.5 KB
- Documented with TypeDoc
https://www.jsdelivr.com/package/npm/@demirkartal/eaglejs
npm install @demirkartal/eaglejs
import EagleJS from 'EagleJS.mjs';
const doc = new EagleJS(document);
doc.ready(() => {
// Call when DOM is completely loaded
});
import { JSDOM } from 'jsdom';
import EagleJS from '@demirkartal/eaglejs';
const jsdom = new JSDOM();
const doc = new EagleJS(jsdom.window.document);
doc.ready(() => {
// Call when DOM is completely loaded
});
For a detailed view, please check the table on caniuse.com.
- Chrome
- Edge
- Firefox
- Safari 12+
- Chrome
- Firefox
- iOS Safari 12+
- You can find documents on https://demirkartal.github.io/eaglejs.