{"_id":"vcdiff-decoder","_rev":"5-27bdab33be4f501c0fcf70d0a4883b65","name":"vcdiff-decoder","description":"Pure JavaScript vcdiff decoder that works with binary deltas from Google's open-vcdiff","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"vcdiff-decoder","version":"0.1.0","description":"Pure JavaScript vcdiff decoder that works with binary deltas from Google's open-vcdiff","main":"lib/vcdiff_decoder.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/wmsmacdonald/vcdiff-decoder.git"},"keywords":["sdch","delta","cache","decoding","compression"],"author":{"name":"William MacDonald"},"license":"MIT","bugs":{"url":"https://github.com/wmsmacdonald/vcdiff-decoder/issues"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.0.2","vcdiff":"github:baranov1ch/node-vcdiff"},"homepage":"https://github.com/wmsmacdonald/vcdiff-decoder#readme","gitHead":"4107af2e9510ce22a00286533dc4944934739497","_id":"vcdiff-decoder@0.1.0","_shasum":"916f625134d3ac3285a16e3a7e66e9e0d2802553","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"wmsmacdonald","email":"wmsmacdonald@gmail.com"},"dist":{"shasum":"916f625134d3ac3285a16e3a7e66e9e0d2802553","tarball":"https://registry.npmjs.org/vcdiff-decoder/-/vcdiff-decoder-0.1.0.tgz","integrity":"sha512-IIw50j2t6oNsic9YX9lge9EFkbcCb40w2Y5zdKqjv4ICIIU9iNpUCARPaFGmnxkAxoTupP1bAB9six8G7XoiBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAXTGsqVTz5ZenW5uNZZPrq1EorXdoi05+c1/H7V2TTeAiAzdU7xA4rYWXL4nKy1erclcnMDbB+pXCJ0wKDVPVV0mA=="}]},"maintainers":[{"name":"wmsmacdonald","email":"wmsmacdonald@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vcdiff-decoder-0.1.0.tgz_1472324300651_0.45369074726477265"}},"0.2.0":{"name":"vcdiff-decoder","version":"0.2.0","description":"Pure JavaScript vcdiff decoder that works with binary deltas from Google's open-vcdiff","main":"lib/vcdiff_decoder.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/wmsmacdonald/vcdiff-decoder.git"},"keywords":["sdch","delta","cache","decoding","compression"],"author":{"name":"William MacDonald"},"license":"MIT","bugs":{"url":"https://github.com/wmsmacdonald/vcdiff-decoder/issues"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.0.2","vcdiff":"github:baranov1ch/node-vcdiff"},"homepage":"https://github.com/wmsmacdonald/vcdiff-decoder#readme","gitHead":"21a6189925d525820adecb828a9004c8a7620c36","_id":"vcdiff-decoder@0.2.0","_shasum":"ad6b21bb60d190d8a9319ab610aa3ff5d82cc272","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"wmsmacdonald","email":"wmsmacdonald@gmail.com"},"dist":{"shasum":"ad6b21bb60d190d8a9319ab610aa3ff5d82cc272","tarball":"https://registry.npmjs.org/vcdiff-decoder/-/vcdiff-decoder-0.2.0.tgz","integrity":"sha512-IsTxHn1WShAaUsf2+3SY7ZTXRl8XhIQ8iHBGF2GhuuwvXHsRyA5HhrkQCCb9zW0hAI+agdmlt/CPeKKyEMWk4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDubRG9fTkVEFdw3YUokLJxei7fO5/OpAbuDz0OLlfVJQIgAPh4WgqhQtbQZoinyXX+dqFPpT65B/LhGYypW/Y/kBM="}]},"maintainers":[{"name":"wmsmacdonald","email":"wmsmacdonald@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vcdiff-decoder-0.2.0.tgz_1473657000671_0.5559173575602472"}},"0.2.1":{"name":"vcdiff-decoder","version":"0.2.1","description":"Pure JavaScript vcdiff decoder that works with binary deltas from Google's open-vcdiff","main":"lib/vcdiff_decoder.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/wmsmacdonald/vcdiff-decoder.git"},"keywords":["sdch","delta","cache","decoding","compression"],"author":{"name":"William MacDonald"},"license":"MIT","bugs":{"url":"https://github.com/wmsmacdonald/vcdiff-decoder/issues"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.0.2","vcdiff":"github:baranov1ch/node-vcdiff"},"homepage":"https://github.com/wmsmacdonald/vcdiff-decoder#readme","gitHead":"8964c2a55537bb70194a61468663eb70bc5cdf2f","_id":"vcdiff-decoder@0.2.1","_shasum":"bc57c182fbc2aa28115e21ee81ca78a688f8a127","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"wmsmacdonald","email":"wmsmacdonald@gmail.com"},"dist":{"shasum":"bc57c182fbc2aa28115e21ee81ca78a688f8a127","tarball":"https://registry.npmjs.org/vcdiff-decoder/-/vcdiff-decoder-0.2.1.tgz","integrity":"sha512-lRZsBcccIdp3rZ62XVxUzzIrG8OS+eVpDoJgbL5z3a1Tybug+l1vk9m+aO9InYi/Rg6AcuBGtRSn2xx0ZAbVdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaqhAzfLDHG0st0xmwlK5vyzuSEwswEazwypc6BQltDgIgdijl/sa/6U7eLRAuilF+Wmt9iEOnKf8y/EogAScss40="}]},"maintainers":[{"name":"wmsmacdonald","email":"wmsmacdonald@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vcdiff-decoder-0.2.1.tgz_1474340149796_0.8004688387736678"}}},"readme":"# vcdiff-decoder\nPure JavaScript vcdiff decoder that works with binary deltas from Google's [open-vcdiff](https://github.com/google/open-vcdiff)\n\n(In Development)\n```javascript\nconst vcdiff = require('vcdiff-decoder');\n\nlet target = vcdiff.decodeSync(deltaBuffer, new Buffer('some dictionary string buffer'));\nconsole.log(target.toString());\n```\n\n## API\n### vcdiff.decodeSync(delta, source)\n* `delta` Buffer\n* `source` Buffer\n\nReturns a `Buffer` object of the target.\n\n`delta` is the binary encoding of the information needed to transform the source to the target. It is encoded as vcdiff, as specified in [RFC 3284](https://tools.ietf.org/html/rfc3284)\n\n`source` is the group of bytes to transform into the target. In delta encoding, this probably an old, cached version.\n\n### vcdiff.decode(delta, source)\n\nSame as above except returns a `Promise` that either resolves with the target `Buffer` or rejects with an error.\n","maintainers":[{"name":"wmsmacdonald","email":"wmsmacdonald@gmail.com"}],"time":{"modified":"2022-06-28T09:25:07.702Z","created":"2016-08-27T18:58:21.684Z","0.1.0":"2016-08-27T18:58:21.684Z","0.2.0":"2016-09-12T05:10:03.626Z","0.2.1":"2016-09-20T02:55:51.851Z"},"homepage":"https://github.com/wmsmacdonald/vcdiff-decoder#readme","keywords":["sdch","delta","cache","decoding","compression"],"repository":{"type":"git","url":"git+https://github.com/wmsmacdonald/vcdiff-decoder.git"},"author":{"name":"William MacDonald"},"bugs":{"url":"https://github.com/wmsmacdonald/vcdiff-decoder/issues"},"license":"MIT","readmeFilename":"README.md"}