code: function (text, replacements) {
          'use strict';
          var keys = getKeysFromTemplate(text),//Object.keys(replacements),
              len = keys.length,
              i = 0,
              key,
              value;
          while (i < len) {
              key = keys[i];
              if (key.indexOf('.') !== -1) {
                  value = getNestedValue(replacements, key);
              } else {
                  value = replacements[key];
              }
              if (value) {
                  text = text.split('{' + key + '}').join(value);
              }
              i += 1;
          }
          return text;
      }
docs: Configuration manager for Node.js applications.
  @module kea-config
   /*global require: true