Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ohana

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ohana - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc