# iostreams-file

> File stream provider for iostreams

Latest version **0.1.0** (published 2014-02-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install iostreams-file
pnpm add iostreams-file
yarn add iostreams-file
bun add iostreams-file
```

## 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.1.0 |
| Published | 2014-02-26 |
| First published | 2014-02-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ben Evans |
| Maintainers | bencevans |
| Keywords | file, streams, iostreams, provider |

## Links

- npm: https://www.npmjs.com/package/iostreams-file
- Repository: git@github.com:webcast-io/iostreams-file
- Homepage: https://github.com/webcast-io/iostreams-file
- Issues: https://github.com/webcast-io/iostreams-file/issues
- npm.io page: https://npm.io/package/iostreams-file

## Dependencies (1)

- [mkdirp](https://npm.io/package/mkdirp.md) ~0.3.5

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2014-02-26

## README

# iostreams-file

File stream provider for [iostreams](https://github.com/webcast-io/iostreams)

## Install

    $ npm install iostreams iostreams-file

## Usage

    var iostreams = require('iostreams');

    iostreams.use(require('iostreams-file'));

    // Getting an input stream
    iostreams.getInputStream('file://home/ben/lolcat.png', function(err, inputStream) {

    });

    // Getting an output stream
    iostreams.getOutputStream('file://home/ben/lolcat.png', function(err, outputStream) {

    });

    // Getting an input and output stream
    iostrams.getInputAndOutputStream(
      'file://inputpath',
      'file://outputpath',
      function(err, inputStream, outputStream) {
        intputStream.pipe(outputStream);
      }
    );

## Licence

MIT

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