@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]',
    });
});

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.70latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.70
2.0.50
2.0.00
1.1.00
1.0.30
1.0.21
1.0.10

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