Flores [WIP]
Minimalist static site generator.
Installation
$ npm install flores
Usage
const flores = require("flores");
(async () => {
await flores.build("/path/to/source");
})();
API
flores.build
Build the site for production.
flores.build([basePath])
Parameters
basePath
(String
): The site source path, default to the current working directory.
flores.serve
Build the site and start the development server.
flores.serve([basePath])
Parameters
basePath
(String
): The site source path, default to the current working directory.
flores.watch
Start the development server and the file watcher.
flores.watch([basePath])
Parameters
basePath
(String
): The site source path, default to the current working directory.
License
MIT © Risan Bagja Pradana