Skip to content

Instantly share code, notes, and snippets.

Avatar

Nicolás Font nicolasfont

  • Los Angeles, California, USA
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am nicolasfont on github.
  • I am nicolasfont (https://keybase.io/nicolasfont) on keybase.
  • I have a public key ASAWNGAiYVaRsOh-6D295xigAPFxLxGisQ74mLUtL28Edgo

To claim this, I am signing this object:

@nicolasfont
nicolasfont / targznode
Created Mar 15, 2012
tar.gz with node.js
View targznode
var fstream = require("fstream"),
tar = require("tar"),
zlib = require("zlib");
fstream.Reader("src").pipe(tar.Pack()).pipe(zlib.createGzip()).pipe(fstream.Writer("output.tar.gz"));