npm install kinesis-writable
Stream data to an AWS Kinesis stream as fast as possible — but no faster.
Newline are treated as delimiters.
// stdin.jsvar kpw =var stream = kpwprocessstdin
echo -n "hello\nworld" | node stdin.js # Writes "hello" and "world" as individual records to Kinesis