We develop software out the wazoo!
Our projects are designed to be fun, useful, and educational. We're always looking for new contributors and collaborators, so feel free to reach out if you're interested in joining the fun!
Maintaining libraries on jsr.io - https://jsr.io/@fartlabs
- @fartlabs/jsonx: Cross-runtime JSX runtime and compiler library for composing JSON data.
- @fartlabs/ht: Type-safe HTML rendering library for Deno.
- @fartlabs/htx: Library of
@fartlabs/jsonx
components for composing HTML content. - @fartlabs/rt: Minimal HTTP router library based on the URLPattern API.
- @fartlabs/rtx: Library of
@fartlabs/jsonx
components for composing@fartlabs/rt
routers.
- @fartlabs/deno_blocks: Blockly IDE integration with Fresh and Deno Subhosting. Winner of Deno Subhosting Hackathon (Ryan Dahl's favorite).
- @fartlabs/jsonx_docs:
Documentation website and online code editor for the
@fartlabs/jsonx
library.
function Cat() {
return { animals: ["🐈"] };
}
function Dog() {
return { animals: ["🐕"] };
}
const data = (
<>
<Cat />
<Dog />
</>
);
console.log(data); // { animals: ["🐈", "🐕"] }
Curious about jsonx? Learn more...
import { a } from "@fartlabs/ht";
const html = a({ href: "https://jsr.io/@fartlabs/ht" }, "@fartlabs/ht");
Deno.writeTextFileSync("index.html", html);
import { A, BODY, H1, P } from "@fartlabs/htx";
const html = (
<BODY>
<H1>Hello, World!</H1>
<P>This is a paragraph.</P>
<A href="https://jsr.io/@fartlabs/htx">@fartlabs/htx</A>
</BODY>
);
Deno.writeTextFileSync("index.html", html);
import { createRouter } from "@fartlabs/rt";
const router = createRouter()
.get("/", () => new Response("Hello, World!"))
.default(() => new Response("Not found", { status: 404 }));
Deno.serve((request) => router.fetch(request));
import { Get, Router } from "@fartlabs/rtx";
const router = (
<Router default={() => new Response("Not found", { status: 404 })}>
<Get
pattern="/"
handle={() =>
new Response("Hello, World!")}
/>
</Router>
);
Deno.serve((request) => router.fetch(request));
We welcome contributions! Here's how:
- Raise an issue: Report bugs or suggest new features.
- Submit a pull request: Directly improve our code.
- Join our community: Discussions are open for questions and collaborations.
Reach out to us on Discord: https://go.fart.tools/chat.
See the LICENSE
file in each repository for details.
Maintained with ❤️ at FartLabs 🧪