ludofischer / metalsmith-gzip

Metalsmith plugin for gzipping the output files.
MIT License
18 stars 3 forks source link

Attempt #1 #4

Closed tigt closed 9 years ago

tigt commented 10 years ago

I'm definitely cargo culting here, but after a day of trying to understand what exactly streams are like, I'm putting this up for help and to return once I do some reading/testing.

ludofischer commented 9 years ago

You got the main outline right but the details are missing. Let me build a working version and I’ll come back.

tigt commented 9 years ago

That's about the best I could hope for. Thanks for your patience!

(I looked inside the node-zlib code like you suggested, but turns out it's in C.)

ludofischer commented 9 years ago

I have opened #5 for this, since too litlle of the original code survives.