demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/jquery-3.3.1/README.md

Path
demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/jquery-3.3.1/README.md
Status
scanned
Type
file
Name
README.md
Extension
.md
Programming language

      
    
Mime type
text/html
File type
HTML document, ASCII text
Tag

      
    
Rootfs path

      
    
Size
2002 (2.0 KB)
MD5
649ad964af208293b914948ef9e48733
SHA1
6dcb1f8f5ec099574814b37adea7e64952d18790
SHA256
d24087178250f8e496896d25e629566381456aee302a246f14f12f076482db3a
SHA512

      
    
SHA1_git
83e7b93700d3096709e9329f042289f5108faa62
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
README.md | 2.0 KB |

# jQuery > jQuery is a fast, small, and feature-rich JavaScript library. For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/). For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery). If upgrading, please see the [blog post for 3.3.1](https://blog.jquery.com/2017/03/20/jquery-3.3.1-now-available/). This includes notable differences from the previous version and a more readable changelog. ## Including jQuery Below are some of the most common ways to include jQuery. ### Browser #### Script tag ```html <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> ``` #### Babel [Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively. ```js import $ from "jquery"; ``` #### Browserify/Webpack There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this... ```js var $ = require("jquery"); ``` #### AMD (Asynchronous Module Definition) AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html). ```js define(["jquery"], function($) { }); ``` ### Node To include jQuery in [Node](nodejs.org), first install with npm. ```sh npm install jquery ``` For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes. ```js require("jsdom").env("", function(err, window) { if (err) { console.error(err); return; } var $ = require("jquery")(window); }); ```
URL Start line End line
http://api.jquery.com/ 5 5
https://github.com/jquery/jquery 6 6
https://blog.jquery.com/2017/03/20/jquery-3.3.1-now-available 8 8
https://code.jquery.com/jquery-3.3.1.min.js 19 19
http://babeljs.io/ 24 24
http://browserify.org/ 32 32
https://webpack.github.io/ 32 32
http://requirejs.org/docs/whyamd.html 40 40
https://github.com/tmpvar/jsdom 56 56
Package URL License Primary language
pkg:npm/jquery@3.3.1 mit JavaScript
pkg:npm/acme-demo-app@1.0.0 JavaScript