byor
v0.1.0
Published
BYOR — Bring Your Own Renderer. My personal composable rendering library (a static site generator purpose) and it's respect your own rendering logic.
Downloads
5
Maintainers
Readme
BYOR — Bring Your Own Renderer.
This tool is built on a functional, pipeline-based architecture, where content is parsed, rendered, and written in isolated, composable stages. Each stage is powered by context-aware plugins (renderers), allowing for flexible rendering logic per content type.
Key Features
- Lazy Rendering
- Pluginable
- Composability
How it works
The library works by treating every type of content as just "content with context". Renderers don’t care if they’re rendering a article page, index page or a article thumbnail — they just consume context and produce object.
Documentation
Look at the code.
Installation
npm i byorUsage
This library built for my static site generator. You can see the how to here.
Contributing
PR are welcome.
