# transform-object-stream

> A streaming transformer for objects.

Latest version **1.1.1** (published 2021-05-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install transform-object-stream
pnpm add transform-object-stream
yarn add transform-object-stream
bun add transform-object-stream
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2021-05-27 |
| First published | 2020-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=12.0.0 |
| Dependencies | 3 |
| Unpacked size | 39.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Aaron Huggins |
| Maintainers | ahuggins_nhs |

## Links

- npm: https://www.npmjs.com/package/transform-object-stream
- Repository: https://github.com/ahuggins-nhs/transform-object-stream
- Homepage: https://github.com/ahuggins-nhs/transform-object-stream#readme
- Issues: https://github.com/ahuggins-nhs/transform-object-stream/issues
- npm.io page: https://npm.io/package/transform-object-stream

## Dependencies (3)

- [field-mapper](https://npm.io/package/field-mapper.md) ^1.2.0
- [strong-typeof](https://npm.io/package/strong-typeof.md) ^0.1.1
- [web-streams-polyfill](https://npm.io/package/web-streams-polyfill.md) ^3.0.3

## Recent versions

- 1.1.1 (latest) — 2021-05-27
- 1.1.0 — 2021-01-19
- 1.0.0 — 2020-10-30
- 0.1.0 — 2020-08-28
- 0.0.1 — 2020-08-27

## README

# 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](https://www.npmjs.com/package/transform-object-stream):

```console
npm install --save transform-object-stream
```

Then require it in your project:

```js
// 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](https://ahuggins-nhs.github.io/transform-object-stream/globals.html) for complete information.

---
_Source: https://npm.io/package/transform-object-stream · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
