0.4.2 • Published 2 years ago

endpoint-imposter v0.4.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Endpoint Imposter

Just create a file containing your mocks,

// mocks.js
module.exports = [
  {
    request: { path: '/todos' },
    response: { json: ['a', 'b', 'c'] },
  }
]

tell Endpoint Imposter where to find this file,

$ npx endpoint-imposter --port 3000 --mocks mocks.js

and enjoy your mocked server!

$ curl http://localhost:3000/sessionId/todos     
["a","b","c"]%

For a detailed description and more examples, please check out 📖 the documentation.

0.4.2

2 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago