use-storeage

1.0.0 • Public • Published
const { useStoreage } = require('use-storeage');

storage.set("foo", "bar", 1000); // Milliseconds

storage.get("foo"); // "bar"

setTimeout(() => console.log(storage.get("foo")), 1000); // null

Readme

Keywords

none

Package Sidebar

Install

npm i use-storeage

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.06 kB

Total Files

3

Last publish

Collaborators

  • kuroitsuki