New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

diskette

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diskette - npm Package Compare versions

Comparing version

to
1.0.5

2

package.json
{
"name": "diskette",
"version": "1.0.4",
"version": "1.0.5",
"description": "Stream buffers and strings efficiently in-memory",

@@ -5,0 +5,0 @@ "main": "build/index.js",

Diskette
========
[![Build Status](https://travis-ci.org/samvv/diskette.svg?branch=master)](https://travis-ci.org/samvv/diskette)
[![Build Status](https://travis-ci.org/samvv/diskette.svg?branch=master)](https://travis-ci.org/samvv/diskette) [![Dependency Status](https://david-dm.org/samvv/diskette.svg)](https://david-dm.org/samvv/diskette)

@@ -20,5 +20,6 @@ > Diskette is a virtual file format that allows for efficient in-memory reads and writes. Files can be constructed from any buffer or string and they are fully streamable. As a consequence, any buffer or string can be streamed as if it was a regular file.

let rest = new File('so i made files in memory that can be piped to just about anything\n')
let restStream = new diskette.ReadableFileStream(rest)
let out = new diskette.WritableFileStream(file)
let restStream = new diskette.ReadableFileStream(rest)
restStream.pipe(out)

@@ -34,2 +35,4 @@

Result:
```

@@ -36,0 +39,0 @@ yo dude

Sorry, the diff of this file is not supported yet