# stream-iswritable

> Check if value is writable stream.

Latest version **0.1.2** (published 2018-01-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install stream-iswritable
pnpm add stream-iswritable
yarn add stream-iswritable
bun add stream-iswritable
```

## 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.2 |
| Published | 2018-01-06 |
| First published | 2017-12-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | wolfram77@gmail.com |
| Maintainers | wolfram77 |
| Keywords | stream, is, writable |

## Links

- npm: https://www.npmjs.com/package/stream-iswritable
- Repository: https://github.com/nodef/stream-iswritable
- Homepage: https://github.com/nodef/stream-iswritable#readme
- Issues: https://github.com/nodef/stream-iswritable/issues
- npm.io page: https://npm.io/package/stream-iswritable

## Dependencies (1)

- [stream-is](https://npm.io/package/stream-is.md) ^0.1.1

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2018-01-06
- 0.1.1 — 2017-12-26
- 0.1.0 — 2017-12-26
- 0.0.8 — 2017-12-26
- 0.0.7 — 2017-12-26
- 0.0.6 — 2017-12-26
- 0.0.5 — 2017-12-26
- 0.0.4 — 2017-12-26
- 0.0.3 — 2017-12-26
- 0.0.2 — 2017-12-26
- 0.0.1 — 2017-12-26

## README

# stream-iswritable

[![NPM](https://nodei.co/npm/stream-iswritable.png)](https://nodei.co/npm/stream-iswritable/)

Check if value is [writable stream].

```javascript
const isWritable = require('stream-iswritable');
// isWritable(<value>)

const stream = require('stream');
isWritable(new stream.Writable());
// true
isWritable(new stream.Readable());
// false
isWritable({read: '1'});
// false
isWritable();
// false
```


[writable stream]: https://nodejs.org/api/stream.html#stream_class_stream_writable

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