Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Templating with some fresh air
Edge is a logical templating engine for Node.js. The syntax language is naturally similar to Javascript, making it simpler to write and remember.
The official documentation will soon be published on http://edge.adonisjs.com
const edge = require('edge.js')
// configure cache
edge.configure({
cache: process.env.NODE_EV === 'production'
})
// register views
edge.registerViews(path.join(__dirname, 'views'))
// render view
edge.render('welcome')
# just the tests
npm run test:local
# tests + report coverage on coveralls
npm run test
# run tests on windows
npm run test:win
# tests with local coverage report
npm run coverage
Make sure to install nunjucks
before running benchmarks in comparison to nunjucks.
node benchmarks/loop.js
node benchmarks/conditionals.js
FAQs
Template engine
The npm package edge.js receives a total of 21,402 weekly downloads. As such, edge.js popularity was classified as popular.
We found that edge.js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.