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

This branch is up to date with LeisureLink/block-file:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Phillip Clark
May 16, 2016
c128e4f · May 16, 2016

History

1 Commit
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016
May 16, 2016

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%