Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "diskette", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Stream buffers and strings efficiently in-memory", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Diskette | ||
======== | ||
> Efficient and streamable in-memory file format. | ||
> Diskette is a virtual file format that allows for fast reads and writes without reallocation. 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. | ||
Read files and write files efficiently in-memory using this tiny API. | ||
```javascript | ||
@@ -17,2 +15,3 @@ let diskette = require('diskette') | ||
file.append('i heard you like files\n') | ||
file.write(4, 'dude') | ||
@@ -26,3 +25,2 @@ let rest = new File('so i made files in memory that can be piped to just about anything\n') | ||
file.append('hope you like it') | ||
file.write(4, 'dude') | ||
@@ -29,0 +27,0 @@ let s = new diskette.ReadableFileStream(file) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19640
80