Skip to content

Commit 03a9703

Browse files
committed
Added some info to the readme and changed the package's configuration
1 parent dfd8a43 commit 03a9703

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

README.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
jquery-file-upload-middleware
22
=============================
33

4+
Fork from: [jquery-file-upload-middleware](https://github.com/aguidrevitch/jquery-file-upload-middleware)
5+
6+
Initial support for s3 file uploads.
7+
48
jQuery-File-Upload Express.js middleware. Based on the server code of [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload)
59

610
Installation:
711

812
```
9-
$ npm install jquery-file-upload-middleware
13+
$ npm install jquery-cloud-file-upload-middleware
1014
```
1115

1216
Usage:
1317

1418
```javascript
1519
var express = require("express"),
16-
upload = require('jquery-file-upload-middleware');
20+
upload = require('jquery-cloud-file-upload-middleware');
1721

1822
var app = express();
1923

@@ -26,6 +30,15 @@ Usage:
2630
width: 80,
2731
height: 80
2832
}
33+
},
34+
s3Bucket: function () {
35+
return s3Bucket;
36+
},
37+
s3Region: function () {
38+
return varS3Region;
39+
},
40+
s3Url: function () {
41+
return dirs.default_s3_url;
2942
}
3043
});
3144

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "jquery-file-upload-middleware",
3-
"author": "Aleksandr Guidrevitch <aguidrevitch@gmail.com>",
4-
"description": "jQuery-File-Upload Express.js Middleware",
2+
"name": "jquery-cloud-file-upload-middleware",
3+
"author": "Manuel Gutierrez @drginm",
4+
"description": "jQuery-Cloud-File-Upload Express.js Middleware",
55
"keywords": [
66
"jquery",
77
"upload",
88
"express",
99
"middleware"
1010
],
11-
"version": "0.1.7",
11+
"version": "0.0.1",
1212
"dependencies": {
1313
"async": "*",
1414
"aws-sdk": "^2.0.17",
@@ -22,14 +22,14 @@
2222
},
2323
"repository": {
2424
"type": "git",
25-
"url": "git://github.com/aguidrevitch/jquery-file-upload-middleware.git"
25+
"url": "git@github.com:drginm/jquery-cloud-file-upload-middleware.git"
2626
},
2727
"main": "./index.js",
2828
"readmeFilename": "README.md",
2929
"devDependencies": {},
3030
"scripts": {
3131
"test": "echo \"Error: no test specified\" && exit 1"
3232
},
33-
"_id": "jquery-file-upload-middleware@0.1.7",
33+
"_id": "jquery-cloud-file-upload-middleware@0.0.1",
3434
"license": "MIT"
3535
}

0 commit comments

Comments
 (0)