local-storage-ts
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Install

npm install local-storage-ts --save

Use

` import storage from 'local-storage-ts'

storage.set('key', 'value') storage.set('arr', [1, 2, 3]) storage.set('obj', {a: '1'})

storage.get('key') // <- 'value' storage.get('arr') // <- [1, 2, 3] storage.get('obj') // <- {a: '1'} `

Readme

Keywords

Package Sidebar

Install

npm i local-storage-ts

Weekly Downloads

2

Version

0.0.2

License

ISC

Unpacked Size

10.5 kB

Total Files

9

Last publish

Collaborators

  • zkeyword