transform-object-stream
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i transform-object-stream

Weekly Downloads

5

Version

1.1.1

License

MIT

Unpacked Size

40.5 kB

Total Files

18

Last publish

Collaborators

  • ahuggins_nhs