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

@ashvajs/mock-server

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ashvajs/mock-server - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "@ashvajs/mock-server",
"version": "0.0.2",
"version": "0.0.3",
"dependencies": {

@@ -5,0 +5,0 @@ "fs": "^0.0.1-security",

# @ashvajs/mock-server
[![npm](https://img.shields.io/npm/dm/@ashvajs/mock-server.svg)](https://www.npmjs.com/package/@ashvajs/mock-server)
[![npm](https://img.shields.io/npm/v/@ashvajs/mock-server.svg)](https://www.npmjs.com/package/@ashvajs/mock-server)
## Description

@@ -12,2 +15,18 @@ Simple mock server to serve static/dynamic routes for mock api.

```
mocks
api
v1
test
post.json // serves as /api/v1/test [post method]
get.json // serves as /api/v1/test [get method]
delete.json // serves as /api/v1/test [delete method]
patch.json // serves as /api/v1/test [patch method]
dynamic // for dynamic routes
post
index.js
get
index.js
```
```
import path from 'path';

@@ -14,0 +33,0 @@ import express from 'express';

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