ayoba-api-mock
v1.1.3
Published
This allow users to have a mock api end points
Downloads
3
Readme
AYOBA API MOCK
This module mock the request of ayoba microApp api's endpoint response.
To use this module on Vanilla javascript.
1.Create another directory:
-mkdir <"directory_name">
2.Switch into the directory:
-cd <"directory_name">
3.Create your script eg: index.js:
const ayoba = require('ayoba-api-mock');
getSelfJid(){
return ayoba.getSelfJid();
}
4.Create the index.js node project:
-npm init
5.Install ayoba-api-mock module:
-npm install ayoba-api-mock
6.Execute the index.js script:
-node test.js