1.1.1 • Published 3 years ago

transform-object-stream v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

transform-object-stream

A pure TypeScript/JavaScript library for streaming objects using Web API Streams. Includes primitive support for piping to NodeJS Streams.

Usage

Install it from the npm repository:

npm install --save transform-object-stream

Then require it in your project:

// Simple example of convenience function. See tests and api for more advanced functionality.
const { transformObjects } = require('transform-object-stream')

async function main () {
  const results = await transformObjects(objects, { rootName: 'root' })
}

Package also exports as ES Module with TS definitions for use with Deno and TypeScript.

API

See the API documentation for complete information.