// index.js
const loki = require('loki-mock');
loki.start();
var lokiConfig = {
port: 6060,
resourcesPath: __dirname + '/custom-folder/loki'
}
loki.start(lokiConfig);
You can see all the possible configurations and their default values down below.
Warning! This is only for local development and should not be used for applications in production.