var BlobLog = var assert = var crypto = var fs = var mapSeries = var randomString = // Generate some data entries and their hashes.var EXAMPLE_HASHES = while EXAMPLE_HASHESlength < 2000 EXAMPLE_HASHES // Create a new disk-persisted, append-only log.var log = // Hex-encoded SHA-256 hashes are 64 bytes. hashLength: 64 // Store 1000 SHA-256 hashes per file. // You may want to set this far higher. hashesPerFile: 1000 // Store log files in this directory. directory: '.blob-log'
blob-log
1.0.0 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i blob-log
Repository
Weekly Downloads
0
Version
1.0.0
License
MIT