Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
can't inflate a file compressed with deflate #29
var zlibjs = require("zlibjs"); var fs = require("fs"); var assert = require("assert"); var original = fs.readFileSync("export17.idbql"); var compressed = zlibjs.deflateSync(original); var decompressed = zlibjs.inflateSync(compressed); assert.equal(original.length, decompressed.length); console.log("OK");
I get the error
Something seems wrong with the npm package : the website displays an error (I've opened the issue npm/npm-www#624) and the package 0.1.9 doesn't seem to exist :
The json at https://registry.npmjs.org/zlibjs displays the release date and an attachment for the version 0.1.9 but no 0.1.9 version... that's strange.