open-index/open-npm huggingface dataset:
npm package: @runafe/subpub
Description: ## Features
Latest version: 1.0.13

# sub and pub

## Features

- support cache
  When subscribe a topic which has been published, it can invoke subscribe immediately by setting `immediate: true`.
- support async subscribe
- suport batch subscribe and unsubscribe
  - match glob pattern. [see](https://github.com/isaacs/minimatch)

## How to use

see [test](./tests/subpub.spec.ts)