# kinesis-writable

> Write newline-delimited data to Kinesis.

Latest version **1.0.0** (published 2015-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install kinesis-writable
pnpm add kinesis-writable
yarn add kinesis-writable
bun add kinesis-writable
```

## 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 | 2015-02-22 |
| First published | 2015-02-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Evan Solomon |
| Maintainers | evansolomon |

## Links

- npm: https://www.npmjs.com/package/kinesis-writable
- npm.io page: https://npm.io/package/kinesis-writable

## Dependencies (4)

- [async](https://npm.io/package/async.md) ^0.9.0
- [simul](https://npm.io/package/simul.md) ^0.1.0
- [sculpt](https://npm.io/package/sculpt.md) ^0.1.6
- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.1.13

## Recent versions

- 1.0.0 (latest) — 2015-02-22

## README

# Kinesis Writable

```
npm install kinesis-writable
```

Stream data to an AWS Kinesis stream as fast as possible — but no faster.

Newline are treated as delimiters.

## Example

```js
// stdin.js
var kpw = require('kinesis-writable')
var stream = kpw.create('your-stream-name', {region: 'us-west-2'}, function (data) {
  return doSomethingWithDataToDecidePartitionKey(data)
})
process.stdin.pipe(stream)
```

```
echo -n "hello\nworld" | node stdin.js

# Writes "hello" and "world" as individual records to Kinesis
```

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