open-index/open-npm huggingface dataset:
npm package: @8medusa/cache-redis
Description: Redis Cache Module for Medusa
Author: Medusa
Latest version: 2.7.0

# Medusa Cache Redis

Use Redis as a Medusa cache store.

## Installation

```
yarn add @8medusa/cache-redis
```

## Options

```
   {
      ttl?: number                // Time to keep data in cache (in seconds)

      redisUrl?: string           // Redis instance connection string

      redisOptions?: RedisOptions // Redis client options

      namespace?: string          // Prefix for event keys (the default is `medusa:`)
  }
```

### Other caching modules

- [Medusa Cache In-Memory](../cache-inmemory/README.md)
npm package: @94ai/unplugin-vue-define-options
Description: Add defineOptions macro for Vue <script setup>.
Author: zoujiahe
Latest version: 1.0.2


# @94ai/unplugin-vue-define-options

<a href="https://vue-macros.sxzz.moe/macros/define-options">📜 Documentation</a>

Options API can be declared using the `defineOptions` in `<script setup>`, specifically to be able to set `name`, `props`, `emits`, and `render` inside of one function.

unplugin-vue-define-options/vite cannot config `defineCompontent` import from vue-demi, @94ai/unplugin-vue-define-options export `defineCompontent` from 'vue-demi'

use `vue-demi` to compatible vue2 or 3.

## Features

- ✨ With this macro, you can use Options API in Vue `<script setup>`.
- 💚 Supports both Vue 2.7 and Vue 3 out-of-the-box.
- 🦾 Full TypeScript support.
- ⚡️ Supports Vite, Nuxt, Webpack, Vue CLI, Rollup 3, esbuild and more, powered by <a href="https://github.com/unjs/unplugin">unplugin</a>.

### See Also

- [Related issue](https://github.com/vuejs/core/issues/5218#issuecomment-1032107354)
- [RFC](https://github.com/vuejs/rfcs/discussions/430)

## License

[MIT](./LICENSE) License © 2022-PRESENT [三咲智子](https://github.com/sxzz) [zoujiahe](https://gitee.com/xccjh)