
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
:warning: Maturity Level: Alpha
Minimal CLI utility to generate files using edge.js templates
pnpm i -g edgejs-cli # Will add an edget utility to PATH
# Render a single template
edget -i templates/home.edge -o site/home.html
# Pass data to templates through a JSON/YAML file
edget -i templates/home.edge -o site/home.html -c context.json
# Render all templates in a directory (Files prefixed with . or _ are ignored)
edget -i templates -o site -c context.json
# Skip escaping if generating non-html content
edget -i sql-templates -o sql --skipEscaping
This is intended to be a minimal utility that simplifies tasks like below for JS/TS developers comfortable with CLI:
If you don't care about cross-language support, edgejs is easier than Handlebars/mustache/liquid etc. because the embedded expressions are plain JS - so there is less need to learn custom syntax specific to the templating language, and we also have first class support for async.
Also unlike JSX based solutions, it is more versatile because it is not limited to HTML
:warning: This project has nothing to do with Microsoft edge browser.
FAQs
CLI utility to generate files based on edge templates
We found that edgejs-cli 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
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.