UNPKG

axiodb

Version:

The Pure JavaScript Alternative to SQLite. Embedded NoSQL database for Node.js with MongoDB-style queries, zero native dependencies, built-in InMemoryCache, and web GUI. Perfect for desktop apps, CLI tools, and embedded systems. No compilation, no platfor

14 lines (13 loc) 514 B
import { FastifyInstance, FastifyPluginOptions } from "fastify"; import { AxioDB } from "../../Services/Indexation.operation"; interface RouterOptions extends FastifyPluginOptions { AxioDBInstance: AxioDB; } /** * Main router plugin for the AxioDB server * @param fastify - Fastify instance * @param _options - Plugin options * @param done - Callback to signal completion */ export default function mainRouter(fastify: FastifyInstance, options: RouterOptions, done: () => void): Promise<void>; export {};