Socket
Socket
Sign inDemoInstall

buffer-peek-stream

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buffer-peek-stream - npm Package Compare versions

Comparing version 0.2.0 to 1.0.0

.travis.yml

4

CHANGELOG.md
# buffer-peek-stream changelog
## 1.0.0 (2015/05/19)
- no changes other than bump to a stable version
## 0.2.0 (2014/11/12)

@@ -4,0 +8,0 @@

4

package.json
{
"name": "buffer-peek-stream",
"version": "0.2.0",
"version": "1.0.0",
"description": "Transform stream that lets you inspect the start of a ReadStream before deciding what to do with it",

@@ -35,2 +35,2 @@ "main": "buffer-peek-stream.js",

}
}
}
# node-buffer-peek-stream
A Transform stream which lets you take a peek at the first bytes before unpiping itself and unshifting the buffer back onto the upstream stream leaving the original stream ready to be
[![Build Status](https://travis-ci.org/seangarner/node-buffer-peek-stream.svg?branch=master)](https://travis-ci.org/seangarner/node-buffer-peek-stream)
A Transform stream which lets you take a peek at the first bytes before unpiping itself and
unshifting the buffer back onto the upstream stream leaving the original stream ready to be
piped again onto its final destination.

@@ -48,9 +51,3 @@

## NOTICE
This hasn't been run in production yet and hasn't gone through substantial testing. The approach
taken to unshift data back onto the origin stream in particular could turn out to be a bad idea when
you try to peek at more bytes than are in the stream.
## Licence
MIT
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc