0.14.1 • Published 3 months ago
@spectrajs/node v0.14.1
@spectrajs/node
Adapter for using Spectra in Node.js environments.
Installation
npm install @spectrajs/node
Documentation
The documentation is available here.
Example
import { Spectra } from "@spectrajs/core";
import { serve } from "@spectrajs/node";
const app = new Spectra();
app.get("/", (c) => c.text("Spectra!"));
serve(app);
License
Distributed under the MIT License. See LICENSE for more information.