Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
shaara-core
Advanced tools
Provide the Kernel of Shaara.
The job of the Kernel is to orchestrate the application and it's various components. The base of it is to handle services.
Basic Example :
import Shaara from "shaara-core";
const kernel = await Shaara.Kernel.create({
getEnvironment: () => {
return "test";
},
getParameters: () => {
return {
databaseUsername: "foo",
databasePassword: "bar",
}
},
getServices: (services, parameters, env) => {
// parameters contains the parameters given in getParameters
// env contains the current environment.
return {
"random.service": randomService
}
}
});
A service is a simple object that do whatever you want. It's completely
user defined. It must be registered using the getServices
function.
Return the current environment. If not specified, reads process.env.NODE_ENV.
Return a list of parameters.
getServices(services : {[key: string]: Object}, parameters : Object, env : string)
Return a list of service.
FAQs
Core of the Shaara framework
The npm package shaara-core receives a total of 5 weekly downloads. As such, shaara-core popularity was classified as not popular.
We found that shaara-core 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.