Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: using undocs package manager component #414

Merged
merged 1 commit into from Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 5 additions & 15 deletions docs/2.drivers/azure.md
Expand Up @@ -18,9 +18,7 @@ This driver uses the configuration store as a key value store. It uses the `key`

To use it, you will need to install `@azure/app-configuration` and `@azure/identity` in your project:

```bash
npm i @azure/app-configuration @azure/identity
```
:pm-install{name="@azure/app-configuration @azure/identity"}

Usage:

Expand Down Expand Up @@ -67,9 +65,7 @@ This driver stores KV information in a NoSQL API Cosmos DB collection as documen

To use it, you will need to install `@azure/cosmos` and `@azure/identity` in your project:

```bash
npm i @azure/cosmos @azure/identity
```
:pm-install{name="@azure/cosmos @azure/identity"}

Usage:

Expand Down Expand Up @@ -115,9 +111,7 @@ Please be aware that key vault secrets don't have the fastest access time and ar

To use it, you will need to install `@azure/keyvault-secrets` and `@azure/identity` in your project:

```bash
npm i @azure/keyvault-secrets @azure/identity
```
:pm-install{name="@azure/keyvault-secrets @azure/identity"}

Usage:

Expand Down Expand Up @@ -160,9 +154,7 @@ This driver stores KV information in a Azure blob storage blob. The same contain

To use it, you will need to install `@azure/storage-blob` and `@azure/identity` in your project:

```bash
npm i @azure/storage-blob @azure/identity
```
:pm-install{name="@azure/storage-blob @azure/identity"}

Please make sure that the container you want to use exists in your storage account.

Expand Down Expand Up @@ -215,9 +207,7 @@ This driver stores KV information in a Azure table storage. The same partition k

To use it, you will need to install `@azure/data-table` and `@azure/identity` in your project:

```bash
npm i @azure/data-table @azure/identity
```
:pm-install{name="@azure/data-table @azure/identity"}

Please make sure that the table you want to use exists in your storage account.

Expand Down
4 changes: 1 addition & 3 deletions docs/2.drivers/browser.md
Expand Up @@ -66,9 +66,7 @@ Learn more about IndexedDB.

To use it, you will need to install [`idb-keyval`](https://github.com/jakearchibald/idb-keyval) in your project:

```bash [Terminal]
npm i idb-keyval
```
:pm-install{name="idb-keyval"}

Usage:

Expand Down
20 changes: 2 additions & 18 deletions docs/2.drivers/capacitor-preferences.md
Expand Up @@ -14,24 +14,8 @@ Learn more about Capacitor Preferences API.

To use this driver, you need to install and sync `@capacitor/preferences` inside your capacitor project:

::code-group

```sh [npm]
npm install @capacitor/preferences
npx cap sync
```

```sh [Yarn]
yarn add @capacitor/preferences
npx cap sync
```

```sh [pnpm]
pnpm add @capacitor/preferences
pnpm cap sync
```

::
:pm-install{name="@capacitor/preferences"}
:pm-x{command="cap sync"}

Usage:

Expand Down
4 changes: 1 addition & 3 deletions docs/2.drivers/mongodb.md
Expand Up @@ -16,9 +16,7 @@ This driver stores KV information in a MongoDB collection with a separate docume

To use it, you will need to install `mongodb` in your project:

```bash [Terminal]
npm i mongodb
```
:pm-install{name="mongodb"}

Usage:

Expand Down
4 changes: 1 addition & 3 deletions docs/2.drivers/redis.md
Expand Up @@ -18,9 +18,7 @@ Unstorage uses [`ioredis`](https://github.com/luin/ioredis) internally to connec

To use it, you will need to install `ioredis` in your project:

```bash [Terminal]
npm i ioredis
```
:pm-install{name="ioredis"}

Usage with single Redis instance:

Expand Down