New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@joshforisha/ssg

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@joshforisha/ssg

A supremely simple static site generator

  • 3.5.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ssg

A Node-based static site generator

Usage:

  • Single build: ssg <source-dir> <base-url> <destination-dir>
  • Watch/dev build: ssg-watch <source-dir> <base-url> <destination-dir>

  • Any index.html will be used as a Handlebars template for all Markdown files in the same directory, as well as subdirectories.
  • Any template.html will wrap content and be inserted into the nearest index file.
  • Any *.md file is parsed into content of the relevant template, and output as minified HTML as the named index file.
  • Any CSS files will be minified using clean-css.
  • Any JS files will be minified using terser.
  • Any other file is copied over as-is to the destination.

FAQs

Package last updated on 22 May 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc