Shred HTTP library for Node.js and Browsers

312 views
Skip to first unread message

Nicolas LaCasse

unread,
Jan 20, 2012, 3:09:17 PM1/20/12
to nodejs
Shred v0.7 has been released.

Shred is an HTTP client library that supports gzip, https, redirects,
and proxies.
As of this version, Shred can run in node.js and in modern browsers!

This means Shred can be used in both client-side and server-side
applications, and it is particulary suited for code that needs to run
in both environmants.

Hat tip to Substack and his awesome Browserify tool for making this
posible!

Check out the official announcement here:
http://www.spire.io/posts/shred-v0_7.html

Or head to Github for the code:
https://github.com/spire-io/shred

Or get the node.js module:
npm install shred

AJ ONeal

unread,
Jan 21, 2012, 1:05:49 AM1/21/12
to nod...@googlegroups.com
I've been working on a similar project abstract-http-request (AHR2) (node and browser).

The thing I'd like to do is make it like connect, but for a client.
I haven't been able to decide on the api.

Anyway, if we could build something more like connect then zombie, ahr, shred, etc could all be done away with in favor of that.

We (the community) keep rewriting this same idea over and over because we each have different needs so we each write our own.

If we had something like connect, we'd be writing modules instead of wasting our time reinventing the wheel over and over and over and over and over and over.


I'm coolaj86 on skype. Add me and let's talk about how we could design a connect-like api. I think with our forces combined we could end the madness.

AJ ONeal


--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

AJ ONeal

unread,
Jan 21, 2012, 1:06:45 AM1/21/12
to nod...@googlegroups.com
wow. you know you didn't get enough sleep last night when you say the same sentence 5 different ways.

AJ ONeal

Ryan Schmidt

unread,
Jan 21, 2012, 4:22:53 AM1/21/12
to nod...@googlegroups.com
It's like you keep reinventing the same sentence over and over and over..... ;)

Mattia Toso

unread,
Mar 22, 2012, 9:21:17 AM3/22/12
to nod...@googlegroups.com
How can I set cookie for GET request?

Steven Campbell

unread,
Mar 22, 2012, 2:16:24 PM3/22/12
to nod...@googlegroups.com
This looks nice.  Can you contrast it with the "request" module that I am currently using on the server-side?  (Obviously the browser-side thing is a distinguishing feature, so besides that)...

Mikeal Rogers

unread,
Mar 22, 2012, 2:45:57 PM3/22/12
to nod...@googlegroups.com
Actually, @substack figured out a way to get request in the browser using browserify. It will eventually get merged in to request proper.

Reply all
Reply to author
Forward
0 new messages