Bobe is a template runtime compiler that parses a custom indentation-based template syntax into an AST. Current stable version is 0.0.47. It is a niche, experimental tool for generating structured node trees from a compact DSL, with typed output. Unlike general-purpose template engines like Handlebars or EJS, Bobe focuses on a unique indentation-aware syntax with key-value attributes and nested children.
npm install bobeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parses a sample template string into an AST using the Bobe compiler.
Use spaces for indentation consistently.
Wrap in try-catch or validate template before parsing.
Ensure that props on a separate line from the node name begin with '|'.
Use a consistent number of spaces (e.g., 2 spaces per level) and avoid tabs.
Use `import { Compiler } from 'bobe'`.No dependency data recorded yet.