index.js
function init(adapter, config) {
  if (!fs) {
    var Adapter = require('./adapters/' + adapter);

    fs = new Adapter(config);
  }
}
function init(adapter, config) {
  if (!fs) {
    var Adapter = require('./adapters/' + adapter);

    fs = new Adapter(config);
  }
}
Initializes the Hiera module.

@param {string} adapter - which adapter to use
@param {string} configFile - the path to `hiera.yaml`.

@example init('/path/to/hiera.yaml');