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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i bolt-internal-config

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • chieze-franklin