@geeeger/storage
TypeScript icon, indicating that this package has built-in type declarations

2.0.7 • Public • Published

storage

本地存储工具

Usage

import qieStorage from '@geeeger/storage';
// 可使用sessionStorage
// 或者localStorage
test('storage', () => {
    expect(qieStorage.qSetItem('sessionStorage', '123', [1, 2, 3, 4])).toEqual({
        key: '123',
        value: '[1,2,3,4]',
    });
});

Readme

Keywords

Package Sidebar

Install

npm i @geeeger/storage

Weekly Downloads

1

Version

2.0.7

License

ISC

Unpacked Size

2.89 kB

Total Files

4

Last publish

Collaborators

  • geeeger