
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Minimalist static site generator, powered by Node.js
You may install it globally with:
npm i -g nanogen
Or run the cli directly with npx (available with npm 5.2 or above):
npx nanogen <command>
To create a brand new site, navigate to the folder you want your site to be and run:
nanogen init
This will create a initial site structure like this:
/
src/
assets/
layouts/
pages/
partials/
site.config.js
To build the site and open it in a browser, run:
npm start
There is already a default layout inside the layouts folder, but you may add more.
Read more about Layouts.
Inside the pages folder is where you put ejs, md or html files that will generate the pages of the final site. Any file name and folder structure used here will be transposed to the resulting site (without the pages part).
Read more about Pages.
You may run nanogen -h to see the available commands and options:
Initialize a new site:
$ nanogen init
Start the current site:
$ nanogen start [options]
Build the current site:
$ nanogen build [options]
Options
-c, --config <file-path> Path to the config file (default: site.config.js)
-p, --port <port-number> Port to use for local server (default: 3000)
-h, --help Display this help text
-v, --version Display Nanogen version
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details
FAQs
Minimalist static site generator in Node.js
We found that nanogen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.