View our GitHub

Please visit sails-docs on GitHub to view documentation on your mobile device.

Edit Page


 * Global Variable Configuration
 * (sails.config.globals)
 * Configure which global variables which will be exposed
 * automatically by Sails.
 * For more information on configuration, check out:
module.exports.globals = {
    _: true,
    async: true,
    sails: true,
    services: true,
    models: true

Is something missing?

If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails-docs repo. Once we merge it, the changes will be immediately reflected on the website.