Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "ohana", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A simple server that return fake json data for test", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,3 +13,3 @@ ohana | ||
```bash | ||
npm install ohaha | ||
npm install ohana | ||
``` | ||
@@ -54,3 +54,5 @@ | ||
- path: 路由匹配地址 | ||
- options: {delay: 延迟多少毫秒后返回,data: 返回的数据,可以接受对象和方法} | ||
- options: | ||
- delay: 延迟多少毫秒后返回, | ||
- data: 返回的数据,可以接受对象和方法, 方法中的参数 params 是路由匹配的参数,query 是提交或查询的参数。 | ||
@@ -57,0 +59,0 @@ ### server.post(path, options) |
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
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
24206
109