unstorage-driver-black-hole
v1.0.2
Published
Black hole driver for unstorage
Downloads
10
Readme
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(),
});