Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@from-static/generator-hello-world
Advanced tools
An example generator for use in the static Application Design Approach
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.
static.json
File{
"_static": {
"generator": {
"name": "@from-static/generator-hello-world"
}
},
"data": {
"attributes": {
"message": "Hello, @from-static!"
}
}
}
FAQs
An example generator for use in the static Application Design Approach
We found that @from-static/generator-hello-world demonstrated a healthy version release cadence and project activity because the last version was released less than 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.