🚧 Work in progress 🚧
- Generates files using
export default
in files named[name].[filetype].js
- Export a String for text-based files (.html, .css, etc)
- Export a Buffer for images and other raw data formats (.png, .gif, .pdf)
- Export a Promise for asynchronous generation (useful for fetching remote data)
- Copies normal, static files from source to destination automatically
-
Write modern, ES6 Syntax in Node thanks to
esm
-
Watches files and their dependencies for changes thanks to
jeye
-
Install size is minimal compared to other builders
-
[Advanced] Add filetype-specific transformers for compilation, minification, and compression
-
[Advanced] Add aggregate builders for bundling components, styles, or any other multi-file bundle
🚧 Work in progress 🚧
Install routo
& serve
npm i routo && npm i -D serve
Setup dev
and build
scripts
"scripts": {
"dev": "routo pages,assets public -w & serve public",
"build": "routo pages,assets public"
}
🚧 Work in progress 🚧
🚧 Work in progress 🚧
🚧 Work in progress 🚧
🚧 Work in progress 🚧
🚧 Work in progress 🚧
- Static HTML page
- CSS Generator
- Folder of blog pages
- Spritesheet generator
- Remote data fetching
🚧 Work in progress 🚧
- More config options for builds/transforms
- Better error handling and messages
MIT © Marshall Brandt