vinmonopolet-ts
Version:
Extracts information on products, categories and stores from Vinmonopolet
12 lines (11 loc) • 531 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const promise_map_limit_1 = __importDefault(require("promise-map-limit"));
const getProduct_1 = __importDefault(require("./getProduct"));
const getProductsByIds = (ids, limit) => {
return (0, promise_map_limit_1.default)(ids, limit || 5, getProduct_1.default);
};
exports.default = getProductsByIds;