bootable-environment

0.2.0 • Public • Published

bootable-environment

Build Dependencies

Environment initialization phase for Bootable.

Install

$ npm install bootable-environment

Usage

Register the phase to be invoked during the application boot sequence.

app.phase(require('bootable-environment')('config/environments'));

When invoked, this phase will load an environment initialization script for the current environment (as set by NODE_ENV). As a special case, if an all.js script exists, that file will be loaded for all environments, prior to the environment-specific script itself.

Tests

$ npm install
$ npm test

Credits

License

The MIT License

Copyright (c) 2013 Jared Hanson <http://jaredhanson.net/>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    112
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    112
  • 0.1.0
    1

Package Sidebar

Install

npm i bootable-environment

Weekly Downloads

48

Version

0.2.0

License

none

Last publish

Collaborators

  • jaredhanson