Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

luster

Package Overview
Dependencies
Maintainers
8
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

luster - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

4

bin/luster.js
#!/usr/bin/env node
const /** @type {ClusterProcess} */
luster = require('../lib/luster'),
fs = require('fs'),
path = require('path');
// config path is right after this script in process.argv
const scriptArgvIndex = process.argv.findIndex(arg => arg === __filename || path.resolve(arg) === __filename);
// path in the argument may be relative or symlink
const scriptArgvIndex = process.argv.findIndex(arg => arg === __filename || fs.realpathSync(path.resolve(arg)) === __filename);
const configFilePath = path.resolve(process.cwd(), process.argv[scriptArgvIndex + 1] || 'luster.conf');
luster.configure(require(configFilePath), true, path.dirname(configFilePath)).run();
{
"name": "luster",
"version": "2.3.0",
"version": "2.3.1",
"description": "Node.js cluster wrapper",

@@ -5,0 +5,0 @@ "main": "./lib/luster.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc