mozilla / node-client-sessions

secure sessions stored in cookies
Mozilla Public License 2.0
759 stars 104 forks source link

Koa support ? #85

Closed netroy closed 8 years ago

netroy commented 10 years ago

would anyone be interested in making this middleware work with generators-based frameworks like koa ?

Currently I'm using this workaround, but I'd prefer a less hack-ish way.

seanmonstar commented 10 years ago

I haven't used koa yet, but I'll take a look. It'd probably be not to hard to provide a sessions.koa() function.

garlicnation commented 7 years ago

Would there be a way to update this for koa2(With async/await)?