@demirkartal/eaglejs
v0.8.2
Published
EagleJS is a jQuery-Like DOM manipulation library for modern browsers
Downloads
20
Maintainers
Readme
EagleJS
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
Installation
CDN
https://www.jsdelivr.com/package/npm/@demirkartal/eaglejs
NPM
npm install @demirkartal/eaglejs
Usage
Browser
import EagleJS from 'EagleJS.mjs';
const doc = new EagleJS(document);
doc.ready(() => {
// Call when DOM is completely loaded
});
Node.js
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
});
Browser Support
For a detailed view, please check the table on caniuse.com.
Desktop (Last two versions)
- Chrome
- Edge
- Firefox
- Safari 12+
Mobile (Latest versions)
- Chrome
- Firefox
- iOS Safari 12+
Documentation
- You can find documents on https://demirkartal.github.io/eaglejs.