Skip to content


Basic Usage

var rs = require("http/v4/rs");
var configurations = require("core/v4/configurations");

        .get(function(ctx, request, response) {
            let credentials = {
                envVar1: configurations.get("ENV_VAR_1"),
                envVar2: configurations.get("ENV_VAR_2")
        .put(function(ctx, request, response) {
            let credentials = request.getJSON();
            configurations.set("ENV_VAR_1", credentials.envVar1);
            configurations.set("ENV_VAR_2", credentials.envVar2);


Function Description Returns
get(key, defaultValue)() Returns the value for the specified key, or the default value string
set(key, value) Sets a value, for the specified key -
getKeys() Returns an arrays of keys array of string
load(path) Loads a configuration from a properties file at path -
update() Updates the loaded configurations -