
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@moleculer/lab
Advanced tools
[](https://www.npmjs.com/package/@moleculer/lab) [](https://moleculer.services)
npm i @moleculer/lab --save
// lab.service.js
const Laboratory = require("@moleculer/lab");
module.exports = {
mixins: [Laboratory.AgentService],
settings: {
token: "<something secret text>", // or set process.env.LAB_TOKEN
apiKey: "<your API key>" // or set process.env.LAB_APIKEY
}
};
The API key is sent to beta testers in e-mail.
Open the https://lab.moleculer.services and add a new project with the http://localhost:3210
URL and use the given (or generated) token.
// moleculer.config.js
const Laboratory = require("@moleculer/lab");
module.exports = {
// ...
metrics: {
enabled: true,
reporter: "Laboratory"
},
// ...
}
// moleculer.config.js
const Laboratory = require("@moleculer/lab");
module.exports = {
// ...
tracing: {
enabled: true,
exporter: "Laboratory"
},
// ...
}
// moleculer.config.js
const Laboratory = require("@moleculer/lab");
module.exports = {
// ...
logger: [{
type: "Console",
options: { /*...*/ }
}, "Laboratory"],
// ...
}
Copyright (c) 2016-2025 MoleculerJS
FAQs
[](https://www.npmjs.com/package/@moleculer/lab) [](https://moleculer.services)
The npm package @moleculer/lab receives a total of 0 weekly downloads. As such, @moleculer/lab popularity was classified as not popular.
We found that @moleculer/lab demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.