Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 877 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 877 Bytes

block-file Circle CI

A block-read, buffered, random-access file implementation for nodejs.

Why

When working with random-access files, access is often less than truly random. More often, reads occur around hot-spots in the file and writes tend to occur near recent reads. Think about database-style binary files; often a record is read, modified, and written back to the file. In such a case, block reads and a little bit of buffering can dramatically improve performance.

Install

npm install block-file 

Use

es5

var BlockFile = require('block-file').BlockFile;

es6

import { BlockFile } from 'block-file';

License

MIT