tmp-storage

0.0.0 • Public • Published

TmpStorage

temporary localStorage

store = new require('tmp-storage') 'somekey'  # the whole stuff will be stored as localStorage.somekey 
store.setItem 'key''this key expires in 30 minutes''30mins'
store.getItem 'key'
  • objects will be encoded/decoded
  • available time units: sec(s), min(s), hour(s), day(s)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    1

Package Sidebar

Install

npm i tmp-storage

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • zf