{"name":"bufferput","version":"0.1.3","description":"Pack multibyte binary values into buffers","main":"./index.js","keywords":["put","pack","binary","buffer"],"repository":{"type":"git","url":"git+ssh://git@github.com/bitpay/node-bufferput.git"},"scripts":{"test":"expresso"},"engines":{"node":">=0.3.0"},"license":{"type":"MIT/X11"},"gitHead":"7cc60ce52b53233e1ac2434ec12ef8d6deb68d97","bugs":{"url":"https://github.com/bitpay/node-bufferput/issues"},"homepage":"https://github.com/bitpay/node-bufferput#readme","_id":"bufferput@0.1.3","_shasum":"c6cd4a2cefa395d2287774a17bc9a90b224447d9","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"gasteve","email":"stephen@pairhome.net"},"dist":{"shasum":"c6cd4a2cefa395d2287774a17bc9a90b224447d9","tarball":"http://registry-npm.ywwl.com/bufferput/download/bufferput-0.1.3.tgz","integrity":"sha512-nmPV88vDNzf0VMU1bdQ4A1oBlRR9y+CXfwWKfyKUgI2ZIkvreNzLMM3tkz0Lapb6f+Cz1V001UWRBsoGVCjqdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAi+0xjimhfjasHbEH2k5tHKjhq4GoYs1QUNMEQZS/cCAiA7NQUbTLEIXJRh5UFya7B6yg3qQLOaLUcKzSg2eJbzHw=="}],"size":3411,"noattachment":false,"key":"/bufferput/-/bufferput-0.1.3.tgz"},"maintainers":[{"name":"gasteve","email":"stephen@pairhome.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bufferput-0.1.3.tgz_1470259627310_0.3345395524520427"},"directories":{},"readme":"BufferPut\n===\n\nPack multibyte binary values into buffers with specific endiannesses.  Based\non the original Put by https://github.com/substack/node-put ...this version\nis intended to be a little more conventional in structure and faster\nto instantiate and easier for a VM to optimize.  Instantiation of this version\nis more that 500x faster than the original as measured on nodejs 0.10.12.\n\nInstallation\n============\n\nTo install with [npm](http://github.com/isaacs/npm):\n \n    npm install bufferput\n\nTo run the tests with [expresso](http://github.com/visionmedia/expresso):\n\n    expresso\n\nExamples\n========\n\nbuf.js\n------\n\nBuild a buffer\n\n    #!/usr/bin/env node\n\n    var BufferPut = require('bufferput');\n    var buf = (new BufferPut())\n        .word16be(1337)\n        .word8(1)\n        .pad(5)\n        .put(new Buffer('pow', 'ascii'))\n        .word32le(9000)\n        .buffer()\n    ;\n    console.log(buf);\n\nOutput:\n    <Buffer 05 39 01 00 00 00 00 00 70 6f 77 28 23 00 00>\n\nstream.js\n---------\n\nSend a buffer to a writeable stream\n\n    #!/usr/bin/env node\n\n    var BufferPut = require('bufferput');\n    (new BufferPut())\n        .word16be(24930)\n        .word32le(1717920867)\n        .word8(103)\n        .write(process.stdout)\n    ;\n\nOutput:\n    abcdefg\n","publish_time":1470259628710,"_cnpm_publish_time":1470259628710,"dist-tags":{"latest":"0.1.3"}}