bolt-internal-config

1.0.3 • Public • Published

bolt-internal-config

Internal Bolt module used to get the current configuration under which Bolt is running.

Installation

$ npm install bolt-internal-config

Use

var config  = require('bolt-internal-config')

var port_bolt_is_running_on = config.getPort();

Note

This is an internal module and should not be used in 3rd party apps.

To get the current config send a GET request to /api/system/config. Note that /api/system/config route is installed by the Bolt module bolt_module_system.

/bolt-internal-config/

    Package Sidebar

    Install

    npm i bolt-internal-config

    Weekly Downloads

    1

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • chieze-franklin