New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@fdaciuk/ajax

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fdaciuk/ajax - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

{
"name": "@fdaciuk/ajax",
"description": "Ajax module in Vanilla JS",
"version": "0.0.3",
"version": "0.0.4",
"main": "dist/ajax.min.js",

@@ -25,3 +25,4 @@ "directories": {

"scripts": {
"test": "gulp test"
"test": "gulp test",
"publish": "npm publish --access=public"
},

@@ -28,0 +29,0 @@ "devDependencies": {

@@ -15,4 +15,8 @@ # Ajax

## Usage
You can use this module with _AMD_, _CommonJS_ or just like a method of `window` object!
## Installation
### Bower
You can install via bower:

@@ -24,4 +28,6 @@

or add `dist/ajax.min.js` on your HTML:
### Manual installation
Just download `dist/ajax.min.js` file, and add `dist/ajax.min.js` on your HTML file:
```html

@@ -31,6 +37,12 @@ <script src="js/ajax.min.js"></script>

You can use this module with _AMD_, _CommonJS_ or just like a method of `window` object!
### CommonJS (via NPM)
#### AMD
```sh
npm i --save @fdaciuk/ajax
```
## Usage
### AMD
```js

@@ -43,12 +55,4 @@ define([ 'Ajax' ], function( Ajax ) {

#### CommonJS (via NPM)
### CommonJS
**Install:**
```sh
npm i --save @fdaciuk/ajax
```
**Usage:**
```js

@@ -55,0 +59,0 @@ var Ajax = require( '@fdaciuk/ajax' );