Click a comic to read it.
Inline paths
Origami is a dialect of JavaScript expressions with inline paths instead of import statements.
site.js
// Standard JS
import greet from "./greet.js";
export default {
"greeting.html": greet("world"),
};
site.ori
// Origami dialect of JavaScript expressions
{
greeting.html: greet.js("world")
}
The greet.js gets the file’s default export.