
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
@steeplejack/express
Advanced tools
Express strategy for Steeplejack
In your Steeplejack bootstrapping, you'll need to import this Express plugin into the
modules
section:
const Steeplejack = require('steeplejack');
const express = require('@steeplejack/express');
/* Bootstrap the Steeplejack app */
const app = Steeplejack.app({
config: {},
modules: [
`${__dirname}/!(node_modules|routes)/**/*.js`,
express,
],
routesDir: `${__dirname}/routes`,
});
app.run(['server'], server => server);
Now you've done that, you can create the server with the Express strategy:
exports.default = (Server, config, { Express }) => {
const express = new Express();
return new Server(config.server, express);
};
exports.inject = {
name: 'server',
deps: [
'steeplejack-server',
'$config',
'steeplejack-express',
],
};
The steeplejack-express
dependency exposes two elements, Express
(the strategy) and expressLib
(the express
library).
MIT License
FAQs
Express strategy for Steeplejack
We found that @steeplejack/express demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
/Security News
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.