Lostorage. js uses the HTML5 localStorage and sessionStorage APIs to provide a persistant client-side storage, mainly targeted at web apps. It has a cookie.js like interface. FEATURES: The minified version is 2.0 KiB large, 0.87 KB if minified and gzipped. It has no dependencies. You can store any kind of data with lostorage.js: Booleans, numbers, strings, arrays and plain objects. With the usual localStorage you can just read strings. lostorage.js supports chaining.