npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

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("")
  })
}

Keywords

none

install

npm i bloody-testserver

Downloadsweekly downloads

18

version

0.1.3

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability