All Projects → Amin52J → AutoMagic

Amin52J / AutoMagic

Licence: MIT License
A magically fast, lightweight and customizable javascript library.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to AutoMagic

clifm
The shell-like, command line terminal file manager: simple, fast, extensible, and lightweight as hell
Stars: ✭ 825 (+5056.25%)
Mutual labels:  fast, lightweight, customizable
Autocomplete.js
Simple autocomplete pure vanilla Javascript library.
Stars: ✭ 3,428 (+21325%)
Mutual labels:  fast, lightweight, customizable
Utox
µTox the lightest and fluffiest Tox client
Stars: ✭ 820 (+5025%)
Mutual labels:  fast, lightweight
React Select Me
Fast 🐆. Lightweight 🐜. Configurable 🐙. Easy to use 🦄. Give it a shot 👉🏼
Stars: ✭ 119 (+643.75%)
Mutual labels:  fast, lightweight
Wolff
🐺 Lightweight and easy to use framework for building web apps.
Stars: ✭ 203 (+1168.75%)
Mutual labels:  fast, lightweight
Wondercms
WonderCMS - fast and small flat file CMS (5 files)
Stars: ✭ 330 (+1962.5%)
Mutual labels:  fast, lightweight
Domvm
DOM ViewModel - A thin, fast, dependency-free vdom view layer
Stars: ✭ 581 (+3531.25%)
Mutual labels:  fast, lightweight
Fero
light, fast, scalable, streaming microservices made easy
Stars: ✭ 175 (+993.75%)
Mutual labels:  fast, lightweight
Metrics
Lightweight alternative to github.com/prometheus/client_golang
Stars: ✭ 254 (+1487.5%)
Mutual labels:  fast, lightweight
wui
Collection of GUI widgets for the web
Stars: ✭ 44 (+175%)
Mutual labels:  lightweight, customizable
jobflow
runs stuff in parallel (like GNU parallel, but much faster and memory-efficient)
Stars: ✭ 67 (+318.75%)
Mutual labels:  fast, lightweight
brute-md5
Advanced, Light Weight & Extremely Fast MD5 Cracker/Decoder/Decryptor written in Python 3
Stars: ✭ 16 (+0%)
Mutual labels:  fast, lightweight
Light 4j
A fast, lightweight and more productive microservices framework
Stars: ✭ 3,303 (+20543.75%)
Mutual labels:  fast, lightweight
Maquette
Pure and simple virtual DOM library
Stars: ✭ 729 (+4456.25%)
Mutual labels:  fast, lightweight
Framework
Swoole, PSR-15, PSR-7, PSR-11 lightweight modular anti-framework for REST micro-services.
Stars: ✭ 259 (+1518.75%)
Mutual labels:  fast, lightweight
Crepe
The thin API stack.
Stars: ✭ 120 (+650%)
Mutual labels:  fast, lightweight
sabotage
a radical and experimental distribution based on musl libc and busybox
Stars: ✭ 502 (+3037.5%)
Mutual labels:  fast, lightweight
brisk-ioc
fast light brisk ioc/di container on nodejs; Node下快速 轻量的IoC/DI容器,依赖注入,配合装饰器使用
Stars: ✭ 12 (-25%)
Mutual labels:  fast, lightweight
Pareto.js
An extremely small, intuitive and fast functional utility library for JavaScript
Stars: ✭ 254 (+1487.5%)
Mutual labels:  fast, lightweight
tinyrpc
Much fast, lightweight, async, based boost.beast and protobuf.
Stars: ✭ 32 (+100%)
Mutual labels:  fast, lightweight

AutoMagic

AutoMagic is a magically fast, lightweight and customizable Javascript library.

Why AutoMagic?

Well, basically because its complete package is less than a quarter in size comparing to popular libraries like jQuery, up to 12 times faster and is easily customizable so you don't have to download a huge library in order to use just a few functionalities. Also forget about the css prefixes, 'cause they're automagically handled!

Does AutoMagic have everything jQuery has?

YES, plus a few more functionalities which is growing everyday!

Browser support?

AutoMagic supports all modern browsers plus IE9+

How to start?

You can use npm to install AutoMagic, simply run the command npm install automagic

OR

You can use bower to install AutoMagic, simply run the command bower install automagic

OR

You can download the complete package or customize your own library here.

Documentation

How to use?

For the ease of use for the developers who've already used other libraries, all syntaxes are like jQuery, so you probably already know how to use them, just instead of $ use am.

  • addClass - Adds a class to the selected elements.
  • after - Inserts the given html code right after the selected element.
  • animate - Animates the selected elements' given properties.
  • append - Appends the given html to the selected elements.
  • attr - Gets or sets the value of the given attribute of the selected element/s.
  • before - Inserts the given html code right before the selected element.
  • closest - Selects the closest ancestor of the selected element matched with the given selector.
  • css - Gets or sets the value of the given properties for the selected elements.
  • data - Gets or sets the data attribute for the selected element/s.
  • each - Iterates over the selected elements.
  • eq - Selects the given index of the selected elements.
  • find - Finds and selects a set of descendants of the selected element matched with the given selector.
  • has - Checks if the selected element is an ancestor of the given selector.
  • hasClass - Checks if the selected element has the given class name.
  • height - Gets or sets the height of the selected element.
  • hide - Hides the selected elements.
  • html - Gets or sets the inner html of the selected element.
  • index - Gets the index of the selected element.
  • insertAtCaret - Inserts the given text at the caret position of the selected element (only works on inputs and textareas).
  • is - Checks if the selected element is :checked, :disabled, :selected, :empty or is the same as the selector or DOM.
  • load - Loads the given file into the selected element and/or calls the callback function after the selected element is loaded.
  • next - Selects the selected element's next element matched with the given selector.
  • nextAll - Selects all the elements matched with the given selector which are placed after the selected element.
  • not - Excludes the given selector from the selected elements.
  • off - Removes the listener for the given event from the selected elements.
  • offset - Gets the top and left offset of the selected element. If relativeToSelector is present the offset will be relative to the selected ancestor, else it would be relative to the body.
  • on - Sets a listener for the given event on the selected elements. If targetSelector is present the listener will be attached to the elements matched with targetSelector that are descendants of the selected elements.
  • parent - Selects the parent element of the selected element.
  • prepend - Prepends the given html code/DOM to the selected elements.
  • prev - Selects the selected element's previous element matched with the given selector.
  • prevAll - Selects all the elements matched with the given selector which are placed before the selected element.
  • prop - Gets or sets the value of the given property of the selected element/s.
  • remove - Removes the selected elements.
  • removeClass - Removes the given class from the selected elements.
  • replaceClass - Replaces the given class with the target class on the selected elements.
  • scroll - Scrolls the element to the target point or gets the scrolls positions and lengths. It can animate the scroll if duration is present.
  • show - Sets the display of the selected element as initial or the given value.
  • siblings - Selects the siblings of the selected element matched with the given selector.
  • text - Gets or sets the text of the selected element.
  • toggleClass - Adds or removes the class depending on the existence of the class name on the selected elements.
  • trigger - Fires the given event on the selected element.
  • val - Gets or sets the value of the selected element.
  • width - Gets or sets the width of the selected element.
  • ajax - Sends an XMLHttpRequest.
  • cookie - Gets, sets or removes a cookie. In order to remove the cookie give the data as an empty string and daysToExpire as -1.
  • each - Iterates over objects and arrays.
  • escapeString - Escapes all the special characters in the given text.
  • ready - Calls the callback when the document is loaded.
  • replaceAll - Replaces all the occurrences of the given value in the string with the replacement string.
  • state - Watches an element, pushes and updates its value on location change. Set the selector to body if you want the whole page to change on route change.
  • storage - Gets, sets or removes the given local storage. Use empty string as value to remove.
  • trim - Removes all the spaces in the given string.
  • unescapeString - Unescapes all the special characters in the given text.

For more details on the functions and how to use them please visit the AutoMagic Page

License

This project is licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].