# from-source

> Generate a stream from a source

Latest version **1.0.0** (published 2012-10-02) · 0 weekly downloads

## Install

```sh
npm install from-source
pnpm add from-source
yarn add from-source
bun add from-source
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2012-10-02 |
| First published | 2012-09-29 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Raynos |
| Maintainers | raynos |

## Links

- npm: https://www.npmjs.com/package/from-source
- Repository: https://github.com/Raynos/from-source
- Issues: https://github.com/Raynos/from-source/issues
- npm.io page: https://npm.io/package/from-source

## Dependencies (1)

- [read-stream](https://npm.io/package/read-stream.md) ~0.4.2

## Recent versions

- 1.0.0 (latest) — 2012-10-02
- 0.1.0 — 2012-09-29

## README

# from-source

Generate a stream from a source

## Example

``` js
var fromSource = require("from-source")

fromSource(function (write, callback) {
    for (var count = 0; count < 5; count++) {
        write(count.toString())
    }
    callback(null, "\n")
}).pipe(process.stdout)

fromSource(function (callback) {
    callback(null, "once\n")
}, { once: true}).pipe(process.stdout)

```

## Installation

`npm install from-source`

## Contributors

 - Raynos

## MIT Licenced

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