Skip to main content

Primate

Expressive, minimal and extensible web framework

Getting started

Run npx -y primate@latest create to create a project structure.

Create a route in routes/index.js

export default {
  get() {
    return "Hello, world!";
  },
};

Run npm i && npm start and visit http://localhost:6161 in your browser.

Packages

Package Description
primate Primate framework
@primate/svelte Serving Svelte components
@primate/react Serving React/JSX components
@primate/vue Serving Vue/SFC components
@primate/htmx Serving HTMX files
@primate/esbuild Bundling JS/CSS
@primate/session User sessions

Resources

License

MIT