Config

Access class for the ranvier.json config

Constructor

new Config()

Methods

static get(key, fallback)

Parameters:
Name Type Description
key string
fallback *

fallback value

static getAll() → {Object}

Returns:
Object

static load()

Load ranvier.json from disk

static save(config)

Persist changes to config to disk

Parameters:
Name Type Description
config Object

static set(key, val)

Parameters:
Name Type Description
key string
val *