read-webfile
Advanced tools
+9
-2
| { | ||
| "name": "read-webfile", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "description": "let you readFile from web just like fs.readFile", | ||
@@ -17,4 +17,11 @@ "main": "./lib/index.js", | ||
| }, | ||
| "author": "", | ||
| "keywords": [ | ||
| "readFile", | ||
| "download file", | ||
| "createReadStream", | ||
| "web file" | ||
| ], | ||
| "homepage": "https://github.com/fish-nodejs/read-webfile", | ||
| "author": "salifish666", | ||
| "license": "MIT" | ||
| } |
+8
-6
@@ -6,3 +6,3 @@ # read-webfile | ||
| ``` | ||
| npm i web-file --save | ||
| npm i read-webfile --save | ||
| ``` | ||
@@ -21,8 +21,8 @@ ## wf.readFileFromWeb(path[, options], callback) | ||
| - callback <Function> | ||
| - err <Error> | ||
| - data <string> | <Buffer> | ||
| - callback `<Function>` | ||
| - err `<Error>` | ||
| - data `<string>` | `<Buffer>` | ||
| ``` js | ||
| const wf = require('web-file') | ||
| const wf = require('read-webfile') | ||
| let url = 'https://nodejs.org/en/' | ||
@@ -45,3 +45,3 @@ | ||
| ``` js | ||
| const wf = require('web-file') | ||
| const wf = require('read-webfile') | ||
| let url = 'https://nodejs.org/en/' | ||
@@ -57,1 +57,3 @@ | ||
| ``` | ||
| ## notice | ||
| this function can not handler redirect such a http 304 code. |
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
No website
QualityPackage does not have a website.
10932
2.43%2
-33.33%1
-50%55
1.85%