Socket
Socket
Sign inDemoInstall

@from-static/generator-hello-world

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@from-static/generator-hello-world

An example generator for use in the static Application Design Approach


Version published
Maintainers
0
Created
Source

generator-hello-world

This is a basic example of a generator in the static Application Design Approach. A generator (static site generator) processes a static.json file and produces a static web page or dynamic web application.

By referencing this generator in a static.json file and providing a data.attributes.message value, the generator will produce a static web page with the provided data.attributes.message.

A template repository that references this generator can be found at: https://github.com/from-static/template-hello-world.

This template repository can be used to create custom distributions of the generator on GitHub Pages by only modifying the data.attributes.message value in the static.json file.

Example static.json File

{
    "_static": {
        "generator": {
            "name": "@from-static/generator-hello-world"
        }
    },
    "data": {
        "attributes": {
            "message": "Hello, @from-static!"
        }
    }
}

FAQs

Package last updated on 16 Jul 2024

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