README
imockit npm package can be used to intercept APIs and return mock responses created by you on your personalized dashboard on imockit
How to set up?
Prerequisites
- Register and login on https://www.imockit.com
- Generate client access token from: https://www.imockit.com/user/token
Installation
Install the package using npm or yarn:
npm install imockit --save
OR
yarn add imockit
How to use?
- Import the package in your code
import imockit from 'imockit';
Initialize the SDK using Access Token (Generate access token here)
imockit('<ACCESS_TOKEN>').initialize();
You can also access imockit object in your browser from window object:
window.imockit
And initialize it directly from window:
window.imockit('<ACCESS_TOKEN>').initialize();
About Us
https://www.imockit.com is one of the many ways to mock your APIs. But it's SIMPLE.
- Easy to mock APIs: Run your flows easily; minimize dev and testing effort
- User friendly: Simple and easy to use; rich and powerful features
- Easy Integration: The easiest integration ever; works like a charm
Who do I talk to?
For queries, email us: info@imockit.com