
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Erdblock is a modular personal webpage. The content is presented by different plugins, which return their own express instance.
You can add plugins to an erdblock instance with the addPlugin(plugin) method.
attrubute | description - | - plugin | plugin object id | to identify the plugin for later manipulation priority | to oder the plugins (higher = first) | (optional)
// init object
var plugin = require("erdblock-default")()
// add plugin to erdblock
erdblock.addPlugin(plugin, "p1")
// or with priority
erdblock.addPlugin(plugin, "p1", 900)
Remove plugin from erdblock.
attrubute | description - | - id | identifyer of the plugin
// remove plugin from erdblock
erdblock.removePlugin("p1")
Set the priority for a added plugin.
attrubute | description - | - id | identifyer of the plugin priority | to oder the plugins (higher = first) |
// set priority for plugin
erdblock.setPriorityForPlugin("p1", 1000)
Title of erdblock (H1)
Subtitle of erdblock (H2)
Absolute url to the profile image (round)
Absolute url to the cover image
// init erdblock object
var erdblock = require("erdblock")()
// init express object
var express = require("express")
var app = express()
// setup url handler for erdblock
app.use("/", erdblock)
// configure main settings
erdblock.locals.title = "Hello World"
erdblock.locals.subtitle = "Subtitle"
erdblock.locals.profileImage = __dirname + "/assets/profile.png"
erdblock.locals.coverImage = __dirname + "/assets/cover.png"
// configure the plugins, and add them to the erdblock object
var website = require("erdblock-website")()
website.locals.config.title = "Example"
website.locals.config.url = "http://www.example.com/"
website.locals.config.description = "Example Description"
erdblock.addPlugin(website)
// configure additional plugins
// configure port
app.listen(3000)
Look at the erdblock-default for more examples.
GNU GENERAL PUBLIC LICENSE Version 2
FAQs
Erdblock is a modular personal webpage, which stays up to date automatically.
We found that erdblock demonstrated a not healthy version release cadence and project activity because the last version was released 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.