Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 8, 2024 via pnpm

jquery 3.7.1

JavaScript library for DOM operations
Package summary
Share
0
issues
1
license
1
MIT
Package created
19 Mar 2011
Version published
28 Aug 2023
Maintainers
4
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
jquery@3.7.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of jquery 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does jquery do?

jQuery is a powerful, lightweight, and feature-rich JavaScript library, designed to simplify the client-side scripting of HTML. This open-source library is built to condense tasks that require mere lines of JavaScript into methods that we can call using a single line of code. It simplifies many tasks in web development like HTML document traversal and manipulation, event handling, and animation.

How do you use jquery?

To use jQuery, first, you must include it in your project. This inclusion can be done through different methods. For the browser, you can use a script tag directly in your HTML like this:

<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>

If you use module bundlers like Webpack, Browserify, or Babel, you can include jQuery using the ES6 import syntax in your JavaScript file:

import $ from "jquery";

Alternatively, if your file is not an ECMAScript module, you can use the CommonJS syntax to include jQuery:

var $ = require( "jquery" );

For usage in Node.js, you first need to install jQuery through npm using the command npm install jquery. After installation, you can require jQuery with a window object using jsdom.

const { JSDOM } = require( "jsdom" );
const { window } = new JSDOM( "" );
const $ = require( "jquery" )( window );

Remember that jQuery code is usually wrapped within a document ready event, to ensure the code doesn't run until the document is finished loading:

$(document).ready(function() {
    // your code here
});

Where are the jquery docs?

For a more detailed introduction and guidelines on using jQuery, the official jQuery documentation is an excellent resource. It provides comprehensive material on getting started with jQuery, its functionalities, and various commands. For source files and bug tracking, please head over to the jQuery GitHub repository.