@stevenleep/mapstore
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@stevenleep/mapstore

安装

pnpm add @stevenleep/mapstore

使用

BaseStoreMap

import { BaseStoreMap } from '@stevenleep/mapstore';
const store = new BaseStoreMap();
store.add('key', 'value');
store.getStore("key"); // value

CollectionStoreMap

import { CollectionStoreMap } from '@stevenleep/mapstore';
const store = new CollectionStoreMap();
store.add('key', 'value');
store.getStore("key"); // [value]

Readme

Keywords

none

Package Sidebar

Install

npm i @stevenleep/mapstore

Weekly Downloads

0

Version

0.0.1

License

none

Unpacked Size

4.42 kB

Total Files

7

Last publish

Collaborators

  • stevenleep