Zero-dependency JavaScript libraries for modern web development. Built by developers who've learned that survival comes from platform mastery, not framework dependency.
import { html, css } from "@raven-js/beak";
import { Router, DevServer, Logger, Assets } from "@raven-js/wings";
// Template with zero dependencies
const styles = css`
.app {
padding: 2rem;
color: #333;
}
.title {
font-size: 2rem;
font-weight: bold;
}
.features {
list-style: none;
padding: 0;
}
.feature {
padding: 0.5rem 0;
}
`;
const HomePage = () => {
const advantages = [
"Zero dependencies",
"Platform primitives",
"AI-native design",
];
return html`
<style>
${styles}
</style>
<div class="app">
<h1 class="title">Ravens build. Others talk.</h1>
<ul class="features">
${advantages.map(
(feature) => html`<li class="feature">β ${feature}</li>`
)}
</ul>
</div>
`;
};
// Routing with production-ready middlewares
const router = new Router();
router.useEarly(new Logger()); // Request logging
router.use(new Assets({ assetsDir: "public" })); // Static files
router.get("/", (ctx) => ctx.html(HomePage()));
// Server in milliseconds, not minutes
const server = new DevServer(router);
await server.listen(3000);
Pro tip: Install the RavenJS VS Code extension for intelligent syntax highlighting and IntelliSense in your templates.
π Advanced Production Setup β Full-scale deployment with clustering, SSL, and complex rendering
import { html, css } from "@raven-js/beak";
import {
Router,
ClusteredServer,
Logger,
Assets,
generateSSLCert,
} from "@raven-js/wings";
// Advanced templating with complex data structures
const todos = [
{ id: 1, task: "Master platform primitives", done: true },
{ id: 2, task: "Eliminate dependency vulnerabilities", done: true },
{ id: 3, task: "Achieve apex performance", done: false },
];
const styles = css`
.todo-app {
max-width: 600px;
margin: 0 auto;
padding: 2rem;
}
.todo {
display: flex;
gap: 1rem;
padding: 0.5rem 0;
}
.done {
opacity: 0.6;
text-decoration: line-through;
}
`;
const TodoApp = () => html`
<style>
${styles}
</style>
<div class="todo-app">
<h2>π¦
Raven Task Manager</h2>
${todos.map(
(todo) => html`
<div class="todo ${todo.done ? "done" : "pending"}">
<span>${todo.done ? "β
" : "β"}</span>
<span>${todo.task}</span>
</div>
`
)}
</div>
`;
// Production-grade router with full middleware stack
const router = new Router();
router.useEarly(new Logger({ production: true, includeHeaders: false }));
router.use(new Assets({ assetsDir: "public", maxAge: "1y" }));
router.get("/", (ctx) => ctx.html(TodoApp()));
// Clustered HTTPS server with auto-generated certificates
const { privateKey, certificate } = await generateSSLCert({
commonName: "ravenjs.app",
organization: "Apex Productions",
});
const server = new ClusteredServer(router, {
sslCertificate: certificate,
sslPrivateKey: privateKey,
});
await server.listen(443);
Next in the hunt: Three key tools complete the predator's arsenal β Hatch (CLI to bootstrap new apps instantly), Fledge (package apps into various deliverables), and Soar (ship directly to cloud platforms).
π¦ ββββββββββββββββββββββββββββββββββββββββββββββββββββββ π¦
π‘οΈ Zero-Dependency Security | β‘ Native-Speed Performance | π§ AI-Native Intelligence |
---|---|---|
Every package is fortress-isolated with no external attack vectors or supply chain vulnerabilities. | Platform primitives deliver millisecond builds and runtime speed without transpilation taxes. | Self-documenting APIs teach both humans and machines, designed for AI collaboration from the ground up. |
π¦ Beak β Templating & Rendering
Zero-dependency templating for HTML, CSS, SQL, Markdown, and JavaScript. XSS protection built-in. Component architecture without framework overhead.
π¦ Wings β Isomorphic Routing
Universal routing that works in server, browser, and CLI environments. Same route definitions everywhere. No framework lock-in, no configuration cancer.
β‘ βββββββββββββββββββββββ β‘
Ravens coordinate through collective intelligence. More packages emerge as the murder grows stronger.
π Read the RavenJS Codex - The witnessed wisdom of framework wars and survival strategies π Explore the full ecosystem - Complete roadmap of planned territories
π Documentation β’ π¦ Codex β’ π Packages β’ β‘ Examples
If RavenJS sharpens your hunt, consider supporting its evolution:
Your sponsorship keeps RavenJS zero-dependency, platform-native, and AI-ready.
Crafted with predatory precision by Anonyfox β’ Licensed under MIT
"In a world obsessed with the next shiny framework, ravens build what endures."