koishi-plugin-database-drop
raw JSON → 0.0.2 verified Sat Apr 25 auth: no javascript
A Koishi plugin that drops a database quickly. Current stable version is 0.0.2, with no active release cadence. This plugin is a niche utility for Koishi chatbot framework developers, allowing fast database removal. Differentiators: it is a minimal plugin with no extra dependencies beyond Koishi 4.18.7+ and designed for quick database drop operations. Unlike general database management tools, it is tightly integrated with Koishi's plugin system.
Warnings
deprecated Plugin is in very early development (v0.0.2) and may change breakingly. ↓
fix Always specify exact version or use lockfile.
gotcha Dropping a database is irreversible; ensure backups. ↓
fix Use with caution in production.
Install
npm install koishi-plugin-database-drop yarn add koishi-plugin-database-drop pnpm add koishi-plugin-database-drop Imports
- default wrong
import plugin from 'koishi-plugin-database-drop'correctimport {} from 'koishi-plugin-database-drop'
Quickstart
// In your Koishi project config (koishi.config.ts or similar)
export default {
plugins: {
'database-drop': {},
},
};
// Then trigger the drop via command (if plugin exposes one)
// This plugin likely provides a command like 'database.drop' to drop the database.