-
ReScript developers who love the language
-
Former BuckleScript users seeking modern tooling
-
Teams wanting type safety without leaving the JS ecosystem
-
Anyone frustrated by runtime type errors in Node SSGs
Write code naturally. Types are inferred. Errors are caught at compile time.
let buildPage = (page: page) => {
let html = page.content->Markdown.toHtml
html->Template.apply(page.frontmatter)
}
// Types inferred, errors caughtThe generated JavaScript is readable and debuggable. No runtime overhead from the type system.
# Install
npm install -g rescribe-ssg
# Create a site
rescribe init my-site
cd my-site
# Build
rescribe build
# Watch mode
rescribe watch-
Sound type system - if it compiles, it works
-
Variant types - model content precisely
-
Pattern matching - elegant content handling
-
Fast compilation - sub-second rebuilds
-
npm compatibility - use any JS library
rescribe-ssg is part of the poly-ssg family, unified through MCP integration.