Scaffolding for static sites

Usage no npm install needed!

<script type="module">
  import generatorStaticSite from '';


Generator Static Site

A simple generator (for Yeoman) to scaffolding static sites.

Install and use

First install this module as global

npm i -g generator-static-site

And to use, run:

yo static-site

After scaffolding the project, the dependencies will be installed. And that's all guys. Now you have a static page's router!

Run the router

For run the static page's router:

npm start


npm startNodemon //runs the app with nodemon

Router options

The router has some config values:

  • Port: The application listener port | --port=value
  • Encoding: The template encoding | --encoding=value
  • Extension: The template extension | --extension=html


For contribute with this project, create a fork in github