cookies
cookies copied to clipboard
inspect() implementation
which parses would be pretty sweet
can you clarify?
right now you just get a bunch of internal props, but it would be nice to display what you're really looking for. AFAIK there's no way to return them all right now
what info are you looking for? 1.0.0 will only show .req and .res. not sure if you want to hide those either.
or did you just want something less noisy?
I think this is about http://nodejs.org/api/util.html#util_util_inspect_object_options where you add a inspect method to Cookie (https://github.com/expressjs/cookies/blob/rewrite/lib/cookie.js). Probably something like inspect: function(){ return this.toHeader() } for when you call util.inspect(cookie).
Ya but cookie is private. Heh
Ah, yea. Glancing though the new code, I don't particularly see anything to inspect from the outside.