ram-biscuit
v0.0.1
Published
Highly performant cookie lib that operates in memory and flushes on next tick
Downloads
3
Readme
Ram Biscuit
Highly performant cookie lib that operates in memory and flushes on next tick
motivation
cookie reading and writing is slow, atomic and blocking original idea inspired by @roberttod
usage
var biscuit = require('ram-biscuit')
biscuit.get('foo') // bar
biscuit.set('foo', 'bar2', {
// see http://github.com/QubitProducts/cookieman for options
expires: new Date().valueOf() + 10000
})
biscuit.get('foo') // bar2
test
npm test
Want to work on this for your day job?
This project was created by the Engineering team at Qubit. As we use open source libraries, we make our projects public where possible.
We’re currently looking to grow our team, so if you’re a JavaScript engineer and keen on ES2016 React+Redux applications and Node micro services, why not get in touch? Work with like minded engineers in an environment that has fantastic perks, including an annual ski trip, yoga, a competitive foosball league, and copious amounts of yogurt.
Find more details on our Engineering site. Don’t have an up to date CV? Just link us your Github profile! Better yet, send us a pull request that improves this project.