XIBLE provides a REST API for most of its functionality. The build-in editor uses this API to communicate with XIBLE.
For Node.js and web applications, please consider using the xible-wrapper package from NPM.
Simply install it and include it in your package.json:
npm install xible-wrapper