0.0.10 • Published 2 years ago
mocksubsi v0.0.10
Mocks module
What is this
This is a mocks module to use during the project UBSI based on json-server
Installtion
npm i mocksubsi --save
then ...
import { LaunchMocks } from 'mocksubsi';
const mocks: Mocks = new Mocks();
await mocks.LaunchMocks(null);
or
import { LaunchMocks } from 'mocksubsi';
const mocks: Mocks = new Mocks('6789'); // With 6789 being the port
await mocks.LaunchMocks(null);