FRAGILE
About
A mocking framework powered by Express, designed to serve mock HTTP/s responses.
Key features:
- write mocks with TypeScript
- http / https support using a unified port
- proxy requests to another target
- record responses returned by a proxy and output as a mock response module
- serve static files
- rate limit
- xml content type request parsing
- response delays
Know more by going through the detailed guide.
Requirements
- NodeJS
14.16.1
or LTS
Get Started
-
Get it
npm install @iamkenos/fragile
-
Try it
npx fragile samples
-
Run it
npx fragile ./samples/fragile.conf.ts
License
MIT