Skip to content

Instantly share code, notes, and snippets.

View ifyoumakeit's full-sized avatar
:octocat:
Githubbin’

Dave Garwacke ifyoumakeit

:octocat:
Githubbin’
View GitHub Profile
@ifyoumakeit
ifyoumakeit / gzip.js
Created August 22, 2014 11:20 — forked from kig/gzip.js
TarGZ = function(){};
// Load and parse archive, calls onload after loading all files.
TarGZ.load = function(url, onload, onstream, onerror) {
var o = new TarGZ();
o.onload = onload;
o.onerror = onerror;
o.onstream = onstream;
o.load(url);
return o;