Comparing version 0.3.0 to 0.3.1
@@ -19,6 +19,6 @@ 'use strict'; | ||
debug: false, | ||
standalone: 'ax' | ||
standalone: 'Ax' | ||
}); | ||
return b.bundle() | ||
.pipe(source('ax-' + pkg.version + '.js')) | ||
.pipe(source('Ax.js')) | ||
.pipe(buffer()) | ||
@@ -35,6 +35,6 @@ // Add transformation tasks to the pipeline here. | ||
debug: false, | ||
standalone: 'ax' | ||
standalone: 'Ax' | ||
}); | ||
return b.bundle() | ||
.pipe(source('ax-' + pkg.version + '.min.js')) | ||
.pipe(source('Ax.min.js')) | ||
.pipe(buffer()) | ||
@@ -41,0 +41,0 @@ .pipe(sourcemaps.init({loadMaps: true})) |
{ | ||
"name": "axjs", | ||
"version": "0.3.0", | ||
"filename": "ax.js", | ||
"version": "0.3.1", | ||
"description": "A RESTful, ajax micro browser library that is under 2kb.", | ||
@@ -5,0 +6,0 @@ "main": "lib", |
![Ax.js](./src/ax.js.gif) | ||
A RESTful, ajax micro browser library that is under 2kb. | ||
* [Quick Start](#quick-start) | ||
A microscopic, RESTful, AJAX browser library; just under 2kb. | ||
* [Usage](#usage) | ||
* [Use with browser window](#quick-start) | ||
* [Use as generic module](#use-with-module) | ||
* [Use with nodejs](#use-with-nodejs) | ||
## Quick Start | ||
## Usage | ||
```javscript | ||
ax | ||
``` | ||
<script src="ax.js"></script> | ||
``` | ||
## Use with generic module | ||
## Use with browser window | ||
Ax.js can be *required* in with a UMD or AMD library like requirejs. | ||
``` javascript | ||
var ax = require('ax.0.3.0'); | ||
``` | ||
<script src="ax.min.0.3.1.js"></script> | ||
``` | ||
@@ -28,8 +28,19 @@ ## Use with nodejs | ||
Install via npm: | ||
``` | ||
npm install axjs | ||
``` | ||
*require* the module | ||
``` javascript | ||
var ax = require('axjs'); | ||
``` | ||
``` | ||
## Use with generic module | ||
Ax.js can be *required* in with a UMD or AMD library like requirejs. | ||
``` javascript | ||
var ax = require('ax.0.3.1'); | ||
``` | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
44815
46
0