Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nzdjb/static-site-generator

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nzdjb/static-site-generator

Static site generator.

  • 0.5.11
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
126
increased by68%
Maintainers
1
Weekly downloads
 
Created
Source

static-website-generator

A website generator. This is intended mostly for my own use, but you're welcome to use it too!

Usage

At present, a directory and two files are needed:

  • The config directory should contain toml files similar to the following:
    [[articles]]
    title = "Article title"
    date = 2023-01-01
    content = "Article content"
    author = "Article author"
    published = true
    
    • author and published are optional, defaulting to empty string and true, respectively.
    • content supports Markdown.
  • A template file, which should be a Handlebars HTML file.
  • An output file, which will be the location the output is written.

Invocation is done as follows:

static-site-generator --config <path-to-config> --indexTemplate <path-to-template-file> --outFile <path-to-output-file>

This command is highly subject to change!

FAQs

Package last updated on 17 Oct 2023

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