2.0.1 • Published 3 years ago

bungee-lib v2.0.1

Weekly downloads
311
License
ISC
Repository
github
Last release
3 years ago

bungee-lib

bungee-lib is a set of JavascriptUtilities for use within the Bungee ecosystem.
They are intended to be low-level, syntactical aids which are decoupled from any other Bungee modules.


Installation

npm install bungee-lib

Usage Examples

The environment module allows ease-of-access to the local environment.

// Load the environment module
const { environment } = require('bungee-lib');

// Easily set environment varaibles
environment.config({
    FOO: "bar"
});

// Access your .env as well as vars passed via .config() above
console.log(environment.vars.NODE_ENV); // development etc.
console.log(environment.vars.FOO);      // bar

TODO - add requests and responses documentation

2.0.1

3 years ago

2.0.0

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.3.0

3 years ago

1.1.2

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago