Browse Source

Add License (MIT)

Dotos 9 năm trước cách đây
mục cha
commit
4cbec964ef
3 tập tin đã thay đổi với 61 bổ sung38 xóa
  1. 19 0
      License
  2. 37 37
      package.json
  3. 5 1
      readme.md

+ 19 - 0
License

@@ -0,0 +1,19 @@
+Copyright (c) 2016 xCss (xioveliu@gmail.com) and contributors
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.

+ 37 - 37
package.json

@@ -1,38 +1,38 @@
 {
-  "name": "JsonBird",
-  "version": "1.0.0",
-  "description": "A Remote Json Agent Service",
-  "private": true,
-  "scripts": {
-    "start": "node ./bin/www"
-  },
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/xCss/JsonBird.git"
-  },
-  "keywords": [
-    "JsonBird",
-    "JsonProxy"
-  ],
-  "author": "xCss",
-  "license": "ISC",
-  "bugs": {
-    "url": "https://github.com/xCss/JsonBird/issues"
-  },
-  "readme": "./readme.md",
-  "homepage": "https://github.com/xCss/JsonBird#readme",
-  "dependencies": {
-    "body-parser": "~1.15.1",
-    "cookie-parser": "~1.4.3",
-    "debug": "~2.2.0",
-    "express": "~4.13.4",
-    "express-generator": "^4.13.4",
-    "moment": "^2.15.0",
-    "moment-timezone": "^0.5.5",
-    "morgan": "~1.7.0",
-    "mysql": "^2.11.1",
-    "pug": "^2.0.0-beta6",
-    "request": "^2.74.0",
-    "serve-favicon": "~2.3.0"
-  }
-}
+    "name": "JsonBird",
+    "version": "1.0.0",
+    "description": "A Remote Json Agent Service",
+    "author": "xCss",
+    "license": "MIT",
+    "private": true,
+    "scripts": {
+        "start": "node ./bin/www"
+    },
+    "repository": {
+        "type": "git",
+        "url": "git+https://github.com/xCss/JsonBird.git"
+    },
+    "keywords": [
+        "JsonBird",
+        "JsonProxy"
+    ],
+    "bugs": {
+        "url": "https://github.com/xCss/JsonBird/issues"
+    },
+    "readme": "./readme.md",
+    "homepage": "https://github.com/xCss/JsonBird#readme",
+    "dependencies": {
+        "body-parser": "~1.15.1",
+        "cookie-parser": "~1.4.3",
+        "debug": "~2.2.0",
+        "express": "~4.13.4",
+        "express-generator": "^4.13.4",
+        "moment": "^2.15.0",
+        "moment-timezone": "^0.5.5",
+        "morgan": "~1.7.0",
+        "mysql": "^2.11.1",
+        "pug": "^2.0.0-beta6",
+        "request": "^2.74.0",
+        "serve-favicon": "~2.3.0"
+    }
+}

+ 5 - 1
readme.md

@@ -9,7 +9,7 @@ A JSON Remote Agent Service | 一个远程JSON代理服务
 [![releases:v1.0.0](https://img.shields.io/badge/releases-v1.0.0-blue.svg)](https://github.com/xCss/JsonBird/releases)
 
 
-## How to use
+## Usage
 > https://bird.ioliu.cn/v1/?url=http[s]://YouWantProxyJSONUrls.com&[?]params1=val1&params2=val2[&callback=fn]
 
 ## You can got
@@ -20,3 +20,7 @@ A JSON Remote Agent Service | 一个远程JSON代理服务
 #### `2016-09-11`  新增网易云音乐接口 (`id[歌曲id]` or `playlist_id[歌单id]`二选一)  
 1. 歌曲信息:https://bird.ioliu.cn/netease/?id=308353   
 2. 歌单信息:https://bird.ioliu.cn/netease/?playlist_id=10998986   
+
+## License
+
+[MIT License](/license)