UNPKG

@ipp/cli

Version:

An image build orchestrator for the modern web

17 lines (16 loc) 534 B
"use strict"; /** * Image Processing Pipeline - Copyright (c) Marcus Cemes * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.createObjectStream = void 0; function createObjectStream(source) { return { [Symbol.asyncIterator]: () => source[Symbol.asyncIterator](), pipe: (operator) => operator(source), }; } exports.createObjectStream = createObjectStream;