0.0.2 • Published 4 years ago
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'}
`