module.exports = function(chain, options = {}) {
  const project = this
  const helperRoutes = project.helpers.available.map(name => `*/${name}s/*.js`)

  const results = helperRoutes
    .map(pattern => project.query(pattern, false, (r) => {
      return Object.assign({id: r.doc.id, path: r.doc.path}, r.doc.exporter.get('exportables.meta').value())
    }))

  return chain.plant(results).flatten()
}