LocalForage for next.
npm install -S @jswork/next-local-forage
api | params | description |
---|---|---|
get | - | Get item data. |
gets | - | Get items. |
set | - | Set value. |
sets | - | Set values. |
del | - | Delete a value by key. |
dels | - | Deleta multiple values. |
clear | - | Clear the store. |
config | - | Config the store. |
import NxLocalForage from '@jswork/next-local-forage';
Code released under the MIT license.