jQuery JavaScript Library

Overview

jQuery — New Wave JavaScript

FOSSA Status

Gitter

Contribution Guides

In the spirit of open source software development, jQuery always encourages community code contribution. To help you get started and before you jump into writing code, be sure to read these important contribution guidelines thoroughly:

  1. Getting Involved
  2. Core Style Guide
  3. Writing Code for jQuery Foundation Projects

References to issues/PRs

GitHub issues/PRs are usually referenced via gh-NUMBER, where NUMBER is the numerical ID of the issue/PR. You can find such an issue/PR under https://github.com/jquery/jquery/issues/NUMBER.

jQuery has used a different bug tracker - based on Trac - in the past, available under bugs.jquery.com. It is being kept in read only mode so that referring to past discussions is possible. When jQuery source references one of those issues, it uses the pattern trac-NUMBER, where NUMBER is the numerical ID of the issue. You can find such an issue under https://bugs.jquery.com/ticket/NUMBER.

Environments in which to use jQuery

  • Browser support
  • jQuery also supports Node, browser extensions, and other non-browser environments.

What you need to build your own jQuery

To build jQuery, you need to have the latest Node.js/npm and git 1.7 or later. Earlier versions might work, but are not supported.

For Windows, you have to download and install git and Node.js.

macOS users should install Homebrew. Once Homebrew is installed, run brew install git to install git, and brew install node to install Node.js.

Linux/BSD users should use their appropriate package managers to install git and Node.js, or build from source if you swing that way. Easy-peasy.

How to build your own jQuery

First, clone the jQuery git repo.

Then, enter the jquery directory and run the build script:

cd jquery && npm run build

The built version of jQuery will be put in the dist/ subdirectory, along with the minified copy and associated map file.

If you want to create custom build or help with jQuery development, it would be better to install grunt command line interface as a global package:

npm install -g grunt-cli

Make sure you have grunt installed by testing:

grunt -V

Now by running the grunt command, in the jquery directory, you can build a full version of jQuery, just like with an npm run build command:

grunt

There are many other tasks available for jQuery Core:

grunt -help

Modules

Special builds can be created that exclude subsets of jQuery functionality. This allows for smaller custom builds when the builder is certain that those parts of jQuery are not being used. For example, an app that only used JSONP for $.ajax() and did not need to calculate offsets or positions of elements could exclude the offset and ajax/xhr modules.

Any module may be excluded except for core, and selector. To exclude a module, pass its path relative to the src folder (without the .js extension).

Some example modules that can be excluded are:

  • ajax: All AJAX functionality: $.ajax(), $.get(), $.post(), $.ajaxSetup(), .load(), transports, and ajax event shorthands such as .ajaxStart().
  • ajax/xhr: The XMLHTTPRequest AJAX transport only.
  • ajax/script: The <script> AJAX transport only; used to retrieve scripts.
  • ajax/jsonp: The JSONP AJAX transport only; depends on the ajax/script transport.
  • css: The .css() method. Also removes all modules depending on css (including effects, dimensions, and offset).
  • css/showHide: Non-animated .show(), .hide() and .toggle(); can be excluded if you use classes or explicit .css() calls to set the display property. Also removes the effects module.
  • deprecated: Methods documented as deprecated but not yet removed.
  • dimensions: The .width() and .height() methods, including inner- and outer- variations.
  • effects: The .animate() method and its shorthands such as .slideUp() or .hide("slow").
  • event: The .on() and .off() methods and all event functionality.
  • event/trigger: The .trigger() and .triggerHandler() methods.
  • offset: The .offset(), .position(), .offsetParent(), .scrollLeft(), and .scrollTop() methods.
  • wrap: The .wrap(), .wrapAll(), .wrapInner(), and .unwrap() methods.
  • core/ready: Exclude the ready module if you place your scripts at the end of the body. Any ready callbacks bound with jQuery() will simply be called immediately. However, jQuery(document).ready() will not be a function and .on("ready", ...) or similar will not be triggered.
  • deferred: Exclude jQuery.Deferred. This also removes jQuery.Callbacks. Note that modules that depend on jQuery.Deferred(AJAX, effects, core/ready) will not be removed and will still expect jQuery.Deferred to be there. Include your own jQuery.Deferred implementation or exclude those modules as well (grunt custom:-deferred,-ajax,-effects,-core/ready).
  • exports/global: Exclude the attachment of global jQuery variables ($ and jQuery) to the window.
  • exports/amd: Exclude the AMD definition.

The build process shows a message for each dependent module it excludes or includes.

AMD name

As an option, you can set the module name for jQuery's AMD definition. By default, it is set to "jquery", which plays nicely with plugins and third-party libraries, but there may be cases where you'd like to change this. Simply set the "amd" option:

grunt custom --amd="custom-name"

Or, to define anonymously, set the name to an empty string.

grunt custom --amd=""

Custom Build Examples

To create a custom build, first check out the version:

git pull; git checkout VERSION

Where VERSION is the version you want to customize. Then, make sure all Node dependencies are installed:

npm install

Create the custom build using the grunt custom option, listing the modules to be excluded.

Exclude all ajax functionality:

grunt custom:-ajax

Excluding css removes modules depending on CSS: effects, offset, dimensions.

grunt custom:-css

Exclude a bunch of modules:

grunt custom:-ajax/jsonp,-css,-deprecated,-dimensions,-effects,-offset,-wrap

There is also a special alias to generate a build with the same configuration as the official jQuery Slim build is generated:

grunt custom:slim

For questions or requests regarding custom builds, please start a thread on the Developing jQuery Core section of the forum. Due to the combinatorics and custom nature of these builds, they are not regularly tested in jQuery's unit test process.

Running the Unit Tests

Make sure you have the necessary dependencies:

npm install

Start grunt watch or npm start to auto-build jQuery as you work:

grunt watch

Run the unit tests with a local server that supports PHP. Ensure that you run the site from the root directory, not the "test" directory. No database is required. Pre-configured php local servers are available for Windows and Mac. Here are some options:

Building to a different directory

To copy the built jQuery files from /dist to another directory:

grunt && grunt dist:/path/to/special/location/

With this example, the output files would be:

/path/to/special/location/jquery.js
/path/to/special/location/jquery.min.js

To add a permanent copy destination, create a file in dist/ called ".destination.json". Inside the file, paste and customize the following:

{
  "/Absolute/path/to/other/destination": true
}

Additionally, both methods can be combined.

Essential Git

As the source code is handled by the Git version control system, it's useful to know some features used.

Cleaning

If you want to purge your working directory back to the status of upstream, the following commands can be used (remember everything you've worked on is gone after these):

git reset --hard upstream/main
git clean -fdx

Rebasing

For feature/topic branches, you should always use the --rebase flag to git pull, or if you are usually handling many temporary "to be in a github pull request" branches, run the following to automate this:

git config branch.autosetuprebase local

(see man git-config for more information)

Handling merge conflicts

If you're getting merge conflicts when merging, instead of editing the conflicted files manually, you can use the feature git mergetool. Even though the default tool xxdiff looks awful/old, it's rather useful.

The following are some commands that can be used there:

  • Ctrl + Alt + M - automerge as much as possible
  • b - jump to next merge conflict
  • s - change the order of the conflicted lines
  • u - undo a merge
  • left mouse button - mark a block to be the winner
  • middle mouse button - mark a line to be the winner
  • Ctrl + S - save
  • Ctrl + Q - quit

QUnit Reference

Test methods

expect( numAssertions );
stop();
start();

Note: QUnit's eventual addition of an argument to stop/start is ignored in this test suite so that start and stop can be passed as callbacks without worrying about their parameters.

Test assertions

ok( value, [message] );
equal( actual, expected, [message] );
notEqual( actual, expected, [message] );
deepEqual( actual, expected, [message] );
notDeepEqual( actual, expected, [message] );
strictEqual( actual, expected, [message] );
notStrictEqual( actual, expected, [message] );
throws( block, [expected], [message] );

Test Suite Convenience Methods Reference (See test/data/testinit.js)

Returns an array of elements with the given IDs

q( ... );

Example:

q("main", "foo", "bar");

=> [ div#main, span#foo, input#bar ]

Asserts that a selection matches the given IDs

t( testName, selector, [ "array", "of", "ids" ] );

Example:

t("Check for something", "//[a]", ["foo", "bar"]);

Fires a native DOM event without going through jQuery

fireNative( node, eventType )

Example:

fireNative( jQuery("#elem")[0], "click" );

Add random number to url to stop caching

url( "some/url" );

Example:

url("index.html");

=> "data/index.html?10538358428943"


url("mock.php?foo=bar");

=> "data/mock.php?foo=bar&10538358345554"

Run tests in an iframe

Some tests may require a document other than the standard test fixture, and these can be run in a separate iframe. The actual test code and assertions remain in jQuery's main test files; only the minimal test fixture markup and setup code should be placed in the iframe file.

testIframe( testName, fileName,
  function testCallback(
      assert, jQuery, window, document,
	  [ additional args ] ) {
	...
  } );

This loads a page, constructing a url with fileName "./data/" + fileName. The iframed page determines when the callback occurs in the test by including the "/test/data/iframeTest.js" script and calling startIframeTest( [ additional args ] ) when appropriate. Often this will be after either document ready or window.onload fires.

The testCallback receives the QUnit assert object created by testIframe for this test, followed by the global jQuery, window, and document from the iframe. If the iframe code passes any arguments to startIframeTest, they follow the document argument.

Questions?

If you have any questions, please feel free to ask on the Developing jQuery Core forum or in #jquery on libera.

Comments
  • Data: Avoid ES5 defineProperty for speed

    Data: Avoid ES5 defineProperty for speed

    As discussed in http://bugs.jquery.com/ticket/14839, removing the use of definePropert(y|ies) brings the jQuery2 data initialization up to speed with jQuery1 for DOM nodes. For non nodes this also switches from defineProperties to defineProperty which is a bit faster, saves an object and saves some bytes.

    @gibson042 this has the changed you suggested in https://github.com/jbedard/jquery/commit/d44885b3603dd41ebc47ac889bc55a9a0da0fd4f

    Data 
    opened by jbedard 63
  • different result of width() and height() since jQuery 3.0

    different result of width() and height() since jQuery 3.0

    Just to provide feedback: #2439 has not only the impact returning non-integer values.

    I have a CSS transform:scale(2) in a root element with a div which has css width 200px. jQuery 2.x returns 200 for .width() as it uses offsetWidth jQuery 3.0 returns 400 for .width() as it uses getBoundingClientRect()

    This is a breaking change which should be at least mentioned in the upgrade guide.

    Dimensions Blocker Has Pull Request 
    opened by HolgerJeromin 55
  • Issue using JQuery 3.1.1 and CSP

    Issue using JQuery 3.1.1 and CSP

    Description

    Hi,

    I'm using JQuery version 3.1.1 and I'm trying to implement Content Security Policy directives on my webpage.

    I'm getting the following error: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'nonce-c20t41c7-73c6-4bf9-fde8-24a7b35t5f71'". Either the 'unsafe-inline' keyword, a hash ('sha256-KAcpKskREkEQf5B3mhDTonpPg34XnzaUC5IoBrOUrwY='), or a nonce ('nonce-...') is required to enable inline execution.

    The error is produced on line 82 of the main jquery.js script file. The content of this line is: doc.head.appendChild( script ).parentNode.removeChild( script );

    Basically, it adds an inline script tag to the DOM, and violates the CSP.

    I do not want to use 'unsafe-inline'. Is there any other way to circumvent this error?

    As you can see on the CSP violation, I'm using CSP level 2 (nonce). Would it be possible (some how) to inform JQuery to use this nonce when appending the script tag?

    Thank you very much.

    Kind regards, V.

    Manipulation Has Pull Request 
    opened by trappedion 51
  • slideDown, show and more stopped working for `display: none` elements

    slideDown, show and more stopped working for `display: none` elements

    Test case -

    <!doctype html>
    <script src="http://code.jquery.com/jquery-git2.js"></script>
    <style>
    div, p { display: none }
    </style>
    <div>stuff<br/>that<br/>takes<br/>a<br/>height</div>
    <p>stuff<br/>that<br/>takes<br/>a<br/>height</p>
    <script>
    $("p").show();
    $("div").slideDown();
    </script>
    

    Changing jquery-git2 to jquery-2.1.1 fixes the issue. This is a regression.

    This is caused by https://github.com/jquery/jquery/commit/86419b10bfa5e3b71a7d416288ab806d47a31d1f

    CSS Effects Blocker 
    opened by phistuck 51
  • 1.12.0 vs 1.11.2 selectors with # broken

    1.12.0 vs 1.11.2 selectors with # broken

    The following is a perfectly valid selector under 1.11.2: $('.class a[href=#anchor]');

    But fails under 1.12.0, and requires quotes: $('.class a[href="#anchor"]');

    Likely related to: https://github.com/jquery/jquery/commit/41f522ace1518f7f6f22f2e227350b0bdf78e62b

    opened by cosmicnet 48
  • Breaking change to the data module in 3.5.0

    Breaking change to the data module in 3.5.0

    The change to the data module made here:

    https://github.com/jquery/jquery/pull/4603/files#diff-38fa4ad21a97c2bf8d5b91d033df3335

    breaks projects that depend on hasOwnProperty() function availability.

    An example: https://github.com/snapappointments/bootstrap-select/issues/2430 Many other project can be affected as well.

    Such change should not be introduced as a minor version upgrade.

    Data Blocker Has Pull Request 3.x-only 
    opened by rjaros 44
  • Changes to offset break jQuery UI

    Changes to offset break jQuery UI

    https://github.com/jquery/jquery/commit/1617479fcf7cbdaf33dc9334ed10a0f30bf14687 contains several breaking changes for jQuery UI

    The first is the switch to return undefined for hidden or disconnected elements which has broken all of our interactions tests.

    The second is to allow offest to throw getBoundingRect not a function when offset is called on the window. While i agree this is probably not a valid use to begin with this may break a lot of other code expecting undefined

    Offset Blocker 
    opened by arschmitz 43
  • Fixes #6724: Wrong $(window).height() in Mobile Safari

    Fixes #6724: Wrong $(window).height() in Mobile Safari

    Greetings all,

    This is my first jQuery pull request, so please do bear with me. I know I probably missed some detail in terms of style, testing, or something. :)

    This is a fix for issue #6724, where the value of $(window).height() is always the value of the window height minus the address bar and debug console. The problem is that the value returned for $(window).height is accurate until you scroll. At which point the value of window.innerHeight is adjusted to reflect the correct height of the drawable area the Browser is using, but the document's height properties are not.

    This patch fixes the issue by returning window.innerHeight for $(window).height() if it exists. If it doesn't exist, it will attempt to use height parameters from document and its children. Tests for the dimensions module are passing in the latest Chrome, Firefox, and Mobile Safari.

    Size changes:

    jQuery Size - compared to last make
      252813    (+26) jquery.js
       94786    (+15) jquery.min.js
       33650    (+15) jquery.min.js.gz
    

    Let me know what I did wrong! :)

    opened by farmdawgnation 41
  • Ajax: Integrated native datatype, for XHR2 rich responseType support

    Ajax: Integrated native datatype, for XHR2 rich responseType support

    XHR2 provides a response attribute, that contains a converted response to a native object, depending on the responseType ("arraybuffer", "blob", "document", "json"). See: https://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-response-attribute http://www.html5rocks.com/en/tutorials/file/xhr2/?redirect_from_locale=fr

    I propose in this pull request, to create a native datatype and response, to manage this kind of response. Some of previous closed tickets proposed to include a binary dataType, with adhoc changes on the transport function : http://bugs.jquery.com/ticket/11461 http://bugs.jquery.com/ticket/9992 http://bugs.jquery.com/ticket/14068

    I think it is not appropriate as the response attribute deals with more than binary data, like arraybuffer, but extends to blob, document and json datatype. In my pull request, I create a native datatype to support all the four response types that are abstracted.

    I think also that such improvements should be included as this is a new improvement in XHR, that is not already included in jQuery. Also, trying to use a converter in the case of ArrayBuffer for example, leads to a heavy loop for the conversion (See: http://updates.html5rocks.com/2012/06/How-to-convert-ArrayBuffer-to-and-from-String). Simple casting doesn't function.

    In my case, I have used Brain dMRI NifTI data formats that are 20MB in size, and all of them need parsing after downloading, which is also a heavy computation (a hundred of milliseconds).

    Also, treating a binary data as text, it is just not natural at all, as this is already the case.

    In any way, I think we should find a solution, and this is my proposition. Please, take a look at the tests, for the usage. And let's start a discussion around this.

    opened by tarikbenmerar 40
  • Deprecate event shorthand methods

    Deprecate event shorthand methods

    As discussed in the core meeting, we should deprecate on/trigger event shorthand methods in a pre-4.0 minor release.

    EDIT by @mgol: I fixed the meeting link, it used to point to the latest day on IRC.

    Event Docs Blocker Has Pull Request 
    opened by gibson042 39
  • Inadequate/dangerous jQuery behavior for 3rd party text/javascript responses

    Inadequate/dangerous jQuery behavior for 3rd party text/javascript responses

    Because of this https://github.com/jquery/jquery/blob/250a1990baa571de60325ab2c52eabb399c4cf9e/src/ajax/script.js#L18 every text/javascript response gets executed. Even if we made a request to another service. CORS was created exactly to prevent this kind of behavior in JSONP (arbitrary code execution).

    So when we do $.get('http://weather.com/sf-weather') or like in Rails' jquery_ujs a form is being sent automatically, the attacker can respond us with text/javascript and execute arbitrary code on our origin. Demo $.get('http://sakurity.com/jqueryxss')

    The fix is to not execute responses from 3rd party origins by default and make it an option. Don't know who to cc to discuss it.

    P.S. I would switch it off for same origin either, because using subtle redirect_to saving tricks we can redirect user to local JSONP endpoint and still get an XSS but those are much more sophisticated vectors.

    Ajax Behavior Change 
    opened by homakov 39
  • Selector: Backport jQuery selection context logic to selector-native

    Selector: Backport jQuery selection context logic to selector-native

    Summary

    Backport jQuery selection context logic to selector-native.

    This makes:

    $div.find("div > *")
    

    no longer matching children of $div.

    Also, leading combinators now work, e.g.:

    $div.find( "> *" );
    

    returns children of $div.

    As a result of that, a number of tests are no longer skipped in the selector-native mode.

    Fixes gh-5185 Ref gh-5085

    The full build is at +19 bytes now. I'm sure this can be reduced a bit but some may be unavoidable unless we want to duplicate a lot of code between selector & selector-native which I'd like to avoid.

    The selector-native build is at -3274 bytes compared to the full main (c66d4700dcf98efccb04061d575e242d28741223) build and at +1056 bytes compared to the selector-native build on that same main build.

    It's quite likely more size optimizations are possible in the selector-native build, I'd appreciate some ideas. One thing I know about is the tokenize & toSelector functions could be simplified slightly as it's enough to collect string parts without all the other context information - instead of:

    tokens.push( {
    	value: matched,
    	type: type,
    	matches: match
    } );
    

    it'd be enough to:

    tokens.push( matched )
    

    and toSelector would be simplified from:

    function toSelector( tokens ) {
    	var i = 0,
    		len = tokens.length,
    		selector = "";
    	for ( ; i < len; i++ ) {
    		selector += tokens[ i ].value;
    	}
    	return selector;
    }
    

    to:

    function toSelector( tokens ) {
    	return tokens.join( "" );
    }
    

    That would save 37 bytes in the selector-native build but would require duplicating those two functions and especially the tokenize one is quite large so I opted against that for now.

    Checklist

    • [x] New tests have been added to show the fix or feature works
    • [x] Grunt build and unit tests pass locally with these changes
    • [ ] If needed, a docs issue/PR was created at https://github.com/jquery/api.jquery.com
    Selector Needs review Discuss in Meeting 
    opened by mgol 0
  • Selector: Fix scoping logic of selector-native

    Selector: Fix scoping logic of selector-native

    Description

    As discussed in https://github.com/jquery/jquery/pull/5085#discussion_r991562552, it would be worthwhile to try to fix the long-standing selector-native issue of not requiring all selector parts to match element under context, e.g. so that:

    $div.find("div > *")
    

    no longer matches children of $div.

    My preliminary research indicates resolving this issue would cost about 1000 bytes minified gzipped; it'd still be 3300 bytes minified gzipped smaller than the full build compared to 4300 bytes minified gzipped without this change.

    Link to test case

    No test case since we don't upload selector-native versions anywhere. But the example from the description is pretty straightforward.

    Selector Behavior Change Has Pull Request 
    opened by mgol 1
  • Updated css.js

    Updated css.js

    Summary

    Checklist

    • [ ] New tests have been added to show the fix or feature works
    • [ ] Grunt build and unit tests pass locally with these changes
    • [ ] If needed, a docs issue/PR was created at https://github.com/jquery/api.jquery.com
    opened by ukcbajr 1
  • css 'aspect-ratio' not treated as unitless.

    css 'aspect-ratio' not treated as unitless.

    Found an issue when using .css('aspect-ratio', x);

    If x is a number, 'px' seems to be added, causing the attribute to not be set.

    Looks like 'aspectRatio' needs to be added to cssNumber definition.

    My current work-around is to convert x to a string, e.g. use .css('aspect-ratio', x+'');

    CSS 
    opened by ukcbajr 14
  • Fix typos found by codespell

    Fix typos found by codespell

    Summary

    Fixes typos found by codespell.

    Checklist

    • [ ] New tests have been added to show the fix or feature works
    • [X] Grunt build and unit tests pass locally with these changes
    • [ ] If needed, a docs issue/PR was created at https://github.com/jquery/api.jquery.com
    opened by DimitriPapadopoulos 1
  • Mouseover / Mousemove

    Mouseover / Mousemove "e.which" does not output the correct mouse button inputs properly in Firefox

    Description

    The e.which value does not work in Firefox when doing a mouseover. The value is a constant value of 1 for all mouse inputs. I expect to see normalized values:

    No Click: 0 Left Click: 1 Middle Click: 2 Right Click: 3

    Works as expected in Chrome. See test case for example.

    Link to test case

    Instructions: Open Firefox, then hover over the red box. The value should be 0, but we get 1. Now left click and drag over the red box. Notice a value of 1. Now right click and drag over the red box, notice the value is still 1. Same goes for the middle button. Workaround is to store the "which" value on a mousedown and use that value. This is inconvenient though.

    https://jsbin.com/zibalaq/edit?html,js,console,output

    Event Discuss in Meeting 
    opened by chopin2256 14
Releases(3.6.3)
JQuery charCounter - jQuery Character Counter Plugin

jQuery Character Counter A jQuery based character counter for <input> and <textarea> HTML tags. What is this? This simple plugin allows you to add a c

mmmm_lemon 1 Aug 10, 2022
Jquery-actualizer - jQuery ajax actualizer

jQuery AJAX Actualizer Include jQuery & this plugin into your HTML file and use this js code: $('#target').actualizer('a'); On click at any A element,

Šimon (Simon) Rataj 1 Jul 28, 2020
jQuery quick notification plugin. jQuery плагин быстрых уведомлений

Note: English translation by Google Translate Notific About Description: this is a jQuery plugin that helps you display notifications on your site. Li

Webarion 2 Nov 7, 2021
A tiny, plugin extendable JavaScript utility library with a JQuery-like syntax.

Tiny Friggin' Utility Zapper What is it? A tiny ~7kb extendable JavaScript utility library with a JQuery like syntax for getting work done fast! If yo

Bret 4 Jun 25, 2022
Zepto.js is a minimalist JavaScript library for modern browsers, with a jQuery-compatible API

Zepto.js – a minimalist JavaScript library Zepto is a minimalist JavaScript library for modern browsers with a largely jQuery-compatible API. If you u

Thomas Fuchs 15k Dec 31, 2022
jQuery JavaScript Library

jQuery — New Wave JavaScript Contribution Guides In the spirit of open source software development, jQuery always encourages community code contributi

jQuery 57k Dec 24, 2022
Javascript library for switching fixed elements on scroll through sections. Like Midnight.js, but without jQuery

Library for Switching Fixed Elements on Scroll Sometimes designers create complex logic and fix parts of the interface. Also they colour page sections

Vladimir Lysov 38 Sep 19, 2022
A simple javascript utility library to include partial html (iframe alternate) without a framework or jQuery.

alt-iframe A simple javascript utility library to include partial html (iframe alternate) without a framework or jQuery. <!doctype html> <html lang="e

FrontEndNeo 17 Dec 30, 2022
jQuery Terminal Emulator - JavaScript library for creating web-based terminals with custom commands

JavaScript Library for Web Based Terminal Emulators Summary jQuery Terminal Emulator is a plugin for creating command line interpreters in your applic

Jakub T. Jankiewicz 2.8k Jan 1, 2023
Reference for How to Write an Open Source JavaScript Library - https://egghead.io/series/how-to-write-an-open-source-javascript-library

Reference for How to Write an Open Source JavaScript Library The purpose of this document is to serve as a reference for: How to Write an Open Source

Sarbbottam Bandyopadhyay 175 Dec 24, 2022
It's an alert library build with JavaScript. You can replace your traditional JavaScript alert, confirm and toast with the library.

asteroid-alert It's an alert library build with JavaScript. You can replace your traditional JavaScript alert, confirm with the library. It has also e

Khan Md Sagar 4 Mar 12, 2021
Standalone AJAX library inspired by jQuery/zepto

ajax Standalone AJAX library inspired by jQuery/zepto Installation component-install ForbesLindesay/ajax Then load using: var ajax = require('ajax');

Forbes Lindesay 365 Dec 17, 2022
Smart Time Ago is a little jQuery library to update the relative timestamps in your document.

Smart Time Ago Smart Time Ago is a little jQuery library to update the relative timestamps in your document intelligently. (e.g "3 hours ago"). It's o

Pragmatic.ly 588 Dec 6, 2022
A tiny, lightning fast jQuery-like library for modern browsers.

Sprint.js Sprint is a high-performance, 5KB (gzipped) DOM library for modern browsers. Sprint notably shines on bandwidth and resource constrained dev

Benjamin De Cock 4.3k Jan 3, 2023
A jQuery-free general purpose library for building credit card forms, validating inputs and formatting numbers.

A jQuery-free general purpose library for building credit card forms, validating inputs and formatting numbers.

Jesse Pollak 528 Dec 30, 2022
Flat and simple color-picker library. No dependencies, no jquery.

Flat and simple color-picker Fully Featured demo Features Simple: The interface is straight forward and easy to use. Practical: Multiple color represe

Ivan Matveev 15 Nov 14, 2022
A lightweight jQuery Ajax util library.

Just Wait Wait what? The server response. Just Wait is a lightweight jQuery utility that allows you to specify a function to be executed after a speci

Omar Muscatello 2 Jun 22, 2022
A simple and light jquery library for toast notification!

What is notify message? Notify message it's a simple jquery library for create a simple and light push notification in your website! How does this wor

Ivan Persiani 3 Feb 23, 2022
Examples of how to do query, style, dom, ajax, event etc like jQuery with plain javascript.

You (Might) Don't Need jQuery Frontend environments evolve rapidly nowadays and modern browsers have already implemented a great deal of DOM/BOM APIs

NEFE 20.3k Dec 24, 2022