Node APIs


Implement any of Saber Hooks by exporting them from a file named saber-node.js in the root of your project.

During developing, you need to restart the server if you made any changes in this file.

For example:

exports.onCreatePage = function (page) { = true

You can access Saber Instance via this.