🚀 DAY 4 OF LAUNCH WEEK: Introducing GitHub Actions Scanning Support.Learn more →
Socket
Book a DemoInstallSign in
Socket

restish

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restish

Restish serves JSON objects

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
18
260%
Maintainers
1
Weekly downloads
 
Created
Source

Restish

Restish makes a server to send mock JSON objects to requests when building out the front end of your web service.

It's more of a prototyping tool then something to be used in production.

Usage

var restish = require('restish');

options = {
  port : 8000,
  routes: {
    test: { abc: '123'}
  }
}

restish(options);

This will open a server on port 8000, and only respond to a call to /test with the { abc: '123'} object.

Keywords

rest

FAQs

Package last updated on 16 Oct 2014

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