https://github.com/codingabhishek/jqrony
https://github.com/codingabhishek/jqrony
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codingabhishek/jqrony
- Owner: codingabhishek
- License: mit
- Created: 2023-12-22T09:01:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-22T09:39:18.000Z (over 2 years ago)
- Last Synced: 2025-02-05T13:54:26.870Z (over 1 year ago)
- Language: JavaScript
- Size: 149 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: codeowners
- Security: SECURITY.md
- Authors: AUTHORS.txt
Awesome Lists containing this project
README
# jqrony 

> jqrony is a fast, small, and feature-rich JavaScript library.
## Including jqrony
Below are some of the most common ways to include jqrony.
### Browser
#### Script tag
```html
```
#### Webpack / Browserify / Babel
There are several ways to use [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Babel](https://babeljs.io/). For more information on using these tools, please refer to the corresponding project's documentation. In the script, including jqrony will usually look like this:
```js
import $ from "jqrony";
```
If you need to use jqrony in a file that's not an ECMAScript module, you can use the CommonJS syntax:
```js
var $ = require( "jqrony" );
```
#### AMD (Asynchronous Module Definition)
AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](https://requirejs.org/docs/whyamd.html).
```js
define( [ "jqrony" ], function( $ ) {
} );
```
### Node
To include jqrony in [Node](https://nodejs.org/), first install with npm.
```sh
npm install jqrony
```
For jqrony 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/jsdom/jsdom). This can be useful for testing purposes.
```js
const { JSDOM } = require( "jsdom" );
const { window } = new JSDOM( "" );
const $ = require( "jqrony" )( window );
```