bloody-testserver

0.1.3 • Public • Published

testserver

install

$ npm install -g bloody-testserver

run

$ bloodyserver [port=8080]

mocks

If you need to mock an API, use a Bloodymock.js file in your directory :

module.exports = function(app){
  app.get("/foo", function(req, res){
    res.status(405)
    res.end("")
  })
}

Dependents (0)

Package Sidebar

Install

npm i bloody-testserver

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • bloodyowl