code: function list(options) {
    return function (req, res) {
      let list,
        listOptions = _.assign({
          prefix: req.uri,
          values: false
        }, options);
  
      list = db.list(listOptions);
  
      res.set('Content-Type', 'application/json');
      list.pipe(res);
    };
  }
docs: List all things in the db
  @param {object} [options]
  @param {string} [options.prefix]
  @param {boolean} [options.values]
  @param {function|array} [options.transforms]
  @returns {function}