mockend

1.2.0 • Public • Published

Usage

Command line

mockend [port]

Module

const server = require("mockend");

server.listen(4000);
curl localhost:4000/test.txt
404

curl -X POST localhost:4000/test.txt
201

curl localhost:4000/test.txt
200

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    1
  • 1.1.0
    1
  • 1.0.0
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i mockend

Weekly Downloads

3

Version

1.2.0

License

MIT

Unpacked Size

2.02 kB

Total Files

7

Last publish

Collaborators

  • lato