Skip to content

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

License

Notifications You must be signed in to change notification settings

flitbit/block-file

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%