UNPKG

webdaw-modules

Version:

a set of modules for building a web-based DAW

14 lines 494 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.addIdToMIDIEvent = void 0; var uniqid_1 = __importDefault(require("uniqid")); exports.addIdToMIDIEvent = function (events) { return events.map(function (e) { e.id = uniqid_1.default(); return e; }); }; //# sourceMappingURL=addIdToMIDIEvent.js.map