'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var version = require('./version.js');

const makeInstaller = (components = []) => {
  const apps = [];
  const install = (app, opts) => {
    if (apps.includes(app))
      return;
    apps.push(app);
    components.forEach((c) => {
      app.use(c, opts);
    });
  };
  return {
    version: version.version,
    install
  };
};

exports["default"] = makeInstaller;
//# sourceMappingURL=make-installer.js.map
