包详细信息

unstorage-driver-black-hole

screeny0516MIT1.0.2

Black hole driver for unstorage

unstorage, blackhole

自述文件

unstorage-driver-black-hole

Provides an unstorage driver which does not store anything.

Useful for local development.

Installation

# Using pnpm
pnpm add unstorage-driver-black-hole

# Using yarn
yarn add unstorage-driver-black-hole

# Using npm
npm install unstorage-driver-black-hole

Usage

import { createStorage } from 'unstorage';
import blackHoleStorage from 'unstorage-driver-black-hole';

const storage = createStorage({
  driver: blackHoleStorage(),
});