Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@flamescape/k8s-app
Advanced tools
Readme
See sample k8s and skaffold yamls in samples/
, and refer to example usage below.
const App = require('@flamescape/k8s-app');
App({configPath: process.env.CONFIG_PATH || './conf/dev.yaml'})
.onStartup(async function({config, locals, exitHandler}) {
// create database connection pool
locals.db = await mysql.createPool(config.database);
locals.db.on('error', exitHandler); // errors re-route to the exitHandler for graceful shutdown
// create express webserver
locals.app = express();
const port = process.env.PORT || 80;
locals.httpServer = locals.app.listen(port);
console.log('Started');
})
.onShutdown(async function({config, locals, error}) {
// close & dispose of resources in reverse order
if (locals.httpServer) {
console.log('Closing web service');
locals.httpServer.close();
}
if (locals.db) {
console.log('Closing DB connection');
await locals.db.end();
}
console.log('Done');
})
.onProbe(async function({config, locals, probeType}){
// probe callback should always throw on failure.
await locals.db.query('SELECT 1');
})
.run();
FAQs
A wrapper for Kubernetes app deployment
The npm package @flamescape/k8s-app receives a total of 0 weekly downloads. As such, @flamescape/k8s-app popularity was classified as not popular.
We found that @flamescape/k8s-app 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.