0.8.1 • Published 1 year ago

@demirkartal/eaglejs v0.8.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

EagleJS

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

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
  • JavaScript Standard Style codes
  • 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