# from2-array

> Create a from2 stream based on an array of source values

Latest version **0.0.4** (published 2015-07-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install from2-array
pnpm add from2-array
yarn add from2-array
bun add from2-array
```

## 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.4 |
| Published | 2015-07-06 |
| First published | 2014-04-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16 |
| Author | Kai Davenport |
| Maintainers | binocarlos |
| Keywords | stream, streams2, from, source, readable |

## Links

- npm: https://www.npmjs.com/package/from2-array
- Repository: https://github.com/binocarlos/from2-array
- Issues: https://github.com/binocarlos/from2-array/issues
- npm.io page: https://npm.io/package/from2-array

## Dependencies (1)

- [from2](https://npm.io/package/from2.md) ^2.0.3

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 0.0.4 (latest) — 2015-07-06
- 0.0.3 — 2014-08-07
- 0.0.2 — 2014-04-21

## README

from2-array
===========

[![NPM](https://nodei.co/npm/from2-array.png?global=true)](https://nodei.co/npm/from2-array/)

[![Travis](http://img.shields.io/travis/binocarlos/from2-array.svg?style=flat)](https://travis-ci.org/binocarlos/from2-array)

Create a [from2](https://github.com/hughsk/from2) stream based on an array of source values

Useful when you want to create a Readable stream with some values you already have in an array

## example

```js
var from = require('from2-array')
var through = require('through2')

from.obj([{
  name:'a'
},{
  name:'b'
},{
  name:'c'
}]).pipe(through.obj(function(chunk, enc, cb){
	console.log('found: ' + chunk.name)
	cb()
}))

```

## license

MIT

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