A bunch of helpers to make it easier to read, write, delete and do other cool stuff with the JXP API server
npm install --save jxp-helper
Use config and create config/default.json
with your jxp_server
.
Eg. of default.json
{
"jxp_server": "http://localhost:2001"
}
When initialising the helper, just pass in server
.
const JXPHelper = require("jxp_helper");
const apihelper = new JXPHelper({ server: "http://localhost/api" });