Socket
Book a DemoInstallSign in
Socket

hapi.server

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi.server

测试数据配置

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

hapi.server

测试数据配置

安装

npm install @jiadi0801/hapi.server -g

静态文件目录

  • 一个api.yml文件
  • 一个放response的文件夹

api.yml:

host: mipaimai.jd.com
port: 8000

resDir: resdata

apiList:
  - method: get
    path: /myMoneyList
    resPath: myMoneyList.json

文件夹: resDir: resdata

启动

afs

FAQs

Package last updated on 14 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts