-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Nadhi-(Kushi) edited this page Apr 1, 2026
·
5 revisions
@http-native/core is an Express-style HTTP framework backed by a Rust native module through napi-rs.
This wiki is meant to describe the code that is in this repository now:
- Bun and Node are supported.
- Native binaries are downloaded during install.
- Routing supports exact paths, params, middleware, groups, sessions, validation, WebSockets, and native response caching.
- Static HTML routes are first-class through
app.static(). - Dev reload is first-class through
app.reload(),http-native dev, andcreateDevServer().
bun add @http-native/coreIf the native binary needs to be repaired or re-downloaded:
http-native setup --forceimport { createApp } from "@http-native/core";
const app = createApp();
app.get("/", (req, res) => {
res.json({ ok: true });
});
const server = await app.listen().port(3000);
console.log(server.url);Http-native is open to everyone, but we have strict regulations and licensing fees for large organizations