The lightest static-site generator
Hydrogen uses JavaScript as it's templating engine, it's aimed at doing one thing really well which is converting template literals to HTML making it super extensible as you have the whole Node.js ecosystem at your fingertips.
Before ES6, JavaScript was not considered powerful enough to manipulate large chunks of the DOM and template engines like Handlebars and Pug filled that void. Now that JavaScript is more powerful than ever, it's time for JS to shine as a viable templating engine.
Hydrogen provides you with:
- ⚡ Millisecond Builds. With the global average attention span being 8 seconds, why wait seconds for your builds when you can wait milliseconds.
- 🔥 JavaScript Templates. With ES6 template literals, who needs template engines like pug and handlebars. You now have access to the full-power of JavaScript.
- 🔌 Use External APIs. Plug into your data with remote APIs.
- 🕶 Powerful Metadata API. Get the best SEO for your static pages.
- 🔨 Build Hooks. Customize the build process to fit your needs
- 💾 Service Worker friendly. Build powerful offline-first experiences