
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@buzuli/app
Advanced tools
Node.js app wrapper
$ npm install @buzuli/app
const app = require('@buzuli/app')
const entry = async (context) => {
// app entry point
}
const options = {
unhandled: {
sigint: { exit: false }
}
}
app(entry, options)
// OR
app(options, entry)
// OR
app(options)(entry)
Options may be pass as a second argument to customize behavior.
options.handle
| forwarded to underlying @buzuli/unhandled packageoptions.logger
| console-like logger object (logs via console
built-in by default)options.modules
| every property is asynchronously resolved and injectedThe context
object injects utilities and customizations/config into the entry point function.
context.logger
| the configured loggercontext.modules
| resolved modulesModules supplied via options.modules
object are awaited and the resolved values injected under the same names in context.modules
.
Exit cleanly on return or exception by the entry function.
Logs and exits on (tunable via options.unhandled
):
FAQs
App scaffold for Node.js
The npm package @buzuli/app receives a total of 1,228 weekly downloads. As such, @buzuli/app popularity was classified as popular.
We found that @buzuli/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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.