Packages
Thirty packages, each one plain Lumen with tests, imported straight from a URL: no package manager, no install step, no lockfile. Those marked FFI link a C library and build on the native target (some also ship a wasm archive for the browser).
No package matches. Try a shorter word, or contribute one.
Formats 6
Parse and write text formats.
Data 3
Databases and stores, over the C FFI.
Servers 7
HTTP servers, sockets, templates and validation.
AI & agents 3
Model APIs, agents and traces.
Tooling 7
Command lines, terminals, schedules and mail.
Small & example 4
Tiny packages that show the import model.
Using a package
Import an export straight from the package's URL and build as usual. The source is fetched over HTTPS at compile time and compiled in.
import greet from "https://lumen-lang.org/package/std-contrib/hello/hello.ts";
console.log(greet("world")); // Hello, world!
lumen-lang.org/package/std-contrib/<name>/<name>.ts
redirects to the package's repository, and the raw GitHub URL works too. Each package's
page has its API, the decisions inside it and how it is tested; the FFI packages document
their local build there.
markdown is fast
The pure-Lumen markdown renderer outpaces the popular
Node.js Markdown libraries. Rendering a typical ~3 KB document in a tight
loop — renders per second, higher is better:
| Renderer | renders / sec |
|---|---|
| markdown (this package) | 6,775 |
| markdown-it | 2,020 |
| marked | 1,064 |
About 3.4× faster than markdown-it and 6.4× faster than marked on the same document.
Contributing
One package per directory, statically typed, tested, current-language features only, with an entry in the catalog. The community page has the short version and links to CONTRIBUTING.