# intersect-arrays-to-stream

> A utility that takes 1 or more sorted arrays and emits a node stream event whenever an intersection is found

Latest version **0.0.3** (published 2016-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install intersect-arrays-to-stream
pnpm add intersect-arrays-to-stream
yarn add intersect-arrays-to-stream
bun add intersect-arrays-to-stream
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2016-08-11 |
| First published | 2016-08-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Fergus McDowall |
| Maintainers | fergie |
| Keywords | array, steam, intersection, intersect |

## Links

- npm: https://www.npmjs.com/package/intersect-arrays-to-stream
- npm.io page: https://npm.io/package/intersect-arrays-to-stream

## Recent versions

- 0.0.3 (latest) — 2016-08-11
- 0.0.2 — 2016-08-10
- 0.0.1 — 2016-08-09

## README

# intersect-arrays-to-stream
Takes an arbitrary amount of sorted arrays and returns the intersect as a stream

```javascript
  var iats = require('intersect-arrays-to-stream')
  
  var arr = [
    "Lorem ipsum dolor sit amet, ea movet euismod deserunt sed. Te has doming antiopam postulant.".split(' ').sort(),
    "Lorem ipsum dolor sit amet, ea movet euismod deserunt sed.".split(' ').sort(),
    "ea movet euismod deserunt sed. Te has doming antiopam postulant.".split(' ').sort()
  ]
  
  iats.getIntersectionStream(arr).pipe(process.stdout)       // deserunteaeuismodmovetsed.
```

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