{"_id":"bf","_rev":"21-a8a54fa2ed7bdd23639d1544c41df345","name":"bf","description":"Bf - bufferfile - a nodejs file descriptor abstraction that you can use with [Buffer](https://nodejs.org/api/buffer.html) signatures.","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"bf","version":"0.0.1","description":"Compile brainfuck into javascript.","modules":{"index":"./bf.js"},"repository":{"type":"git","url":"http://github.com/jesusabdullah/bf.js.git"},"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.github.com"},"dependencies":{"prompt":">= 0.0.2"},"engine":["node >=0.1.100"],"_id":"bf@0.0.1","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"tarball":"https://registry.npmjs.org/bf/-/bf-0.0.1.tgz","shasum":"a66fccdb2715eb24bff64d120b94426c2a004d38","integrity":"sha512-a6farptqrN2wU0CHVn+jsTV2qgaGnC8MRsV01K1y5hb7dDLTI//lc50lJJXGz1ElTBJ+PO1Chj/v4h3iJWFHCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBJTJHvuqcpikjbjo5WyF5gxOxGR9iTPe158/zZl+BXwIhAIX00UH/laUFz3oc67UzGjJQrt+wl6xcGBIo75Nuo9vc"}]}},"0.0.2":{"name":"bf","version":"0.0.2","description":"Compile brainfuck into javascript.","main":"./bf.js","repository":{"type":"git","url":"git://github.com/jesusabdullah/bf.js.git"},"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.github.com"},"dependencies":{"prompt":">= 0.0.2"},"engine":["node >=0.1.100"],"_id":"bf@0.0.2","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"0.3.15","_nodeVersion":"v0.5.0-pre","directories":{},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"24e1fb0c8bae862c97674843f3a7a94a5b33a2aa","tarball":"https://registry.npmjs.org/bf/-/bf-0.0.2.tgz","integrity":"sha512-RqSupe+0bt90GcJsfG+9hS42Qha0AyxoLOdLqGdKW1N2kSirNZ3rlFZ10mZc/OzADQiB13buMrCNga+6KnJpuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIApWiE/vzJFheswxH1E84StMtIaypC3URrismHZxfxVhAiEApB0ha4kae6pZk2/I+PiLw6a06G5MupqsyK0nhdx2wTY="}]}},"0.1.0":{"name":"bf","version":"0.1.0","description":"Interpret brainfuck in node.js.","main":"./bf.js","repository":{"type":"git","url":"git://github.com/jesusabdullah/bf.js.git"},"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.github.com"},"dependencies":{"prompt":"=0.1.x"},"engine":["node>=0.4"],"_npmJsonOpts":{"file":"/home/josh/.npm/bf/0.1.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"bf@0.1.0","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.9","_defaultsLoaded":true,"dist":{"shasum":"60bf3aa2d82c73a14bd54b6fabca133d763ca7bc","tarball":"https://registry.npmjs.org/bf/-/bf-0.1.0.tgz","integrity":"sha512-0chDm879GcYI4PF3+ZqTYkaJ1V53v5AcwDimxyx5R0vtAHgKXm/kew0dDz9AkCYd56ciVAhkVDDqA/IKGkARfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClnG9tep05eM/NxEt19a82mByU9ifhL/yHADRFrte1sAIgBPekkQRyo81Hq0Ce72bcjeXAFcMfp7gnrNAWje5LORc="}]},"scripts":{}},"0.1.1":{"name":"bf","version":"0.1.1","description":"Interpret brainfuck in node.js.","main":"./bf.js","repository":{"type":"git","url":"git://github.com/jesusabdullah/bf.js.git"},"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.github.com"},"dependencies":{"prompt":"=0.1.x"},"engine":["node>=0.4"],"_npmJsonOpts":{"file":"/home/josh/.npm/bf/0.1.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"bf@0.1.1","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.9","_defaultsLoaded":true,"dist":{"shasum":"c38294d1d0bdaac2725350212a18d46a122d154f","tarball":"https://registry.npmjs.org/bf/-/bf-0.1.1.tgz","integrity":"sha512-YoKEJJKeA0WfsukP9K/Q/PVcdA1C2vupyVMyHiT4batQMC06tOwZmPC9DC/lOiWJj4IuwX2vRGWLen6k9fklgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDS08yUgltPfMpkSwce6AWYFlxgvFinu1dlnMTFI0wcrwIgCY98+O7xaYMM4AYzlosKyZ/v9neWyWQ/Hj27+CH+K3w="}]},"scripts":{}},"0.1.2":{"name":"bf","version":"0.1.2","description":"Interpret brainfuck in node.js.","main":"./bf.js","repository":{"type":"git","url":"git://github.com/jesusabdullah/bf.js.git"},"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.github.com"},"dependencies":{"prompt":"=0.1.x"},"engine":["node>=0.4"],"_npmJsonOpts":{"file":"/home/josh/.npm/bf/0.1.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"bf@0.1.2","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.9","_defaultsLoaded":true,"dist":{"shasum":"6486c90139cf248bc690aff344e89633d2f649ba","tarball":"https://registry.npmjs.org/bf/-/bf-0.1.2.tgz","integrity":"sha512-ELhEdJD8cDj2b3F67owvBpKXDgjwhOSGck04FUiu1ys3mZxFtFW4L27mh0VbBnyCaKh3bLCHMLKPTBW8AbC/5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh3ppCmejhEr1hxB9mfJpRmY6HqkQSubTrR6II3QIxcQIhAI+VeY9AtAjJjBwHFY8eE254WbY73YvEuN0l5jf4ZRlV"}]},"scripts":{}},"1.0.0":{"scripts":{"mocha":"node node_modules/mocha/bin/_mocha","test":"node node_modules/istanbul/lib/cli.js cover --report text-summary --report html --report lcov  node_modules/mocha/bin/_mocha --","coveralls":"npm install coveralls && node ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info"},"devDependencies":{"expect.js":"^0.3.1","istanbul":"^1.1.0-alpha.1","mocha":"^3.1.2"},"dependencies":{},"name":"bf","description":"Bf - bufferfile - a nodejs file descriptor abstraction that you can use with [Buffer](https://nodejs.org/api/buffer.html) signatures.","version":"1.0.0","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/131/bufferfile.git"},"keywords":["buffer","fs","file","bf"],"author":{"name":"Francois Leurent","email":"131.js@cloudyks.org"},"license":"MIT","bugs":{"url":"https://github.com/131/bufferfile/issues"},"homepage":"https://github.com/131/bufferfile#readme","gitHead":"0fd973bf7d24f474acfe821665f3af85a074708e","_id":"bf@1.0.0","_shasum":"711200fdd90c67382d45217926ae3f955e06ece2","_from":".","_npmVersion":"2.15.12","_nodeVersion":"8.1.4","_npmUser":{"name":"131","email":"131.js@cloudyks.org"},"dist":{"shasum":"711200fdd90c67382d45217926ae3f955e06ece2","tarball":"https://registry.npmjs.org/bf/-/bf-1.0.0.tgz","integrity":"sha512-xVPUdNRiJXiNrauDpGr9APAeeOh6zXZ8g4hh7OT3nEVJgUSQHdhZLtqZCBbDAGkJFTYIuuE5DW0R/+6vSpg5Aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8Jw0vP8PtBojmrz5+Np3H6BpdgO/ehozbrY7/VcNBpAIhAKVbfOH8cyWZHWofbox10bV/T7zQiPofQvIK6pzGgv7l"}]},"maintainers":[{"email":"131.js@cloudyks.org","name":"131"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bf-1.0.0.tgz_1507752872652_0.5377340882550925"}}},"maintainers":[{"email":"131.js@cloudyks.org","name":"131"}],"author":{"name":"Francois Leurent","email":"131.js@cloudyks.org"},"repository":{"type":"git","url":"git+https://github.com/131/bufferfile.git"},"time":{"modified":"2022-06-13T04:34:15.597Z","created":"2011-04-03T00:18:52.857Z","0.0.1":"2011-04-03T00:18:52.857Z","0.0.2":"2011-04-03T00:18:52.857Z","0.1.0":"2011-07-03T19:42:39.057Z","0.1.1":"2011-07-06T03:47:40.526Z","0.1.2":"2011-07-08T02:56:32.018Z","1.0.0":"2017-10-11T20:14:33.616Z"},"readme":"[bf](https://github.com/131/bufferfile) - a nodejs *file* descriptor abstraction that you can use with *[Buffer](https://nodejs.org/api/buffer.html)* signatures.\n\n# Motivation\nThe stream API cannot seek easily, [bl](https://www.npmjs.com/package/bl) works fine, but load all your file in memory (that i cannot afford).\nThe fs API is \"good enough\" yet i need the buffer signatures (readUInt & co) - hence *bufferfile*.\n\n[![Build Status](https://travis-ci.org/131/bufferfile.svg?branch=master)](https://travis-ci.org/131/bufferfile)\n[![Coverage Status](https://coveralls.io/repos/github/131/bufferfile/badge.svg?branch=master)](https://coveralls.io/github/131/bufferfile?branch=master)\n[![Version](https://img.shields.io/npm/v/bf.svg)](https://www.npmjs.com/package/bf)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT)\n\n\n\n# API/example\n```\nconst bf = require('bf');\n\n  //opens file descriptor\nvar file = new bf('somefile.txt', 'r');\n\n  //read an int from fd\nvar int = file.readInt32BE(1024);\n\n\n```\n## Extra signatures\n* buffer.close() - close the fd (!)\n\nbufferfile provide an internal offset so you can \n* buffer.seek(pos)\n* all readXX are based on the internal offet (as default default)\n* all readXX are doubled with \"consumeXX\" signature that'll make the internal offset walk\n\n\n# Credits\n* [131](https://github.com/131) - author\n* Joshua Holbrook who gave me the package name\n* [bl](http://npmjs.com/package/bl) - good complementary\n","readmeFilename":"README.md","homepage":"https://github.com/131/bufferfile#readme","keywords":["buffer","fs","file","bf"],"bugs":{"url":"https://github.com/131/bufferfile/issues"},"license":"MIT"}