UNPKG

gitlab

Version:

Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.

14 lines (13 loc) 416 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function Bundler(services) { const combined = Object.assign({}, services); return class Bundle { constructor(baseOptions) { Object.keys(combined).forEach((serviceName) => { this[serviceName] = new combined[serviceName](baseOptions); }); } }; } exports.default = Bundler;