import { version } from './version.mjs';

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,
    install
  };
};

export { makeInstaller as default };
//# sourceMappingURL=make-installer.mjs.map
