New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

busylight-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

busylight-cli - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

README.md

29

dist/busylight-cli.js

@@ -5,14 +5,25 @@ #! /usr/bin/env node

var command = process.argv[2];
if (command === "busy") {
light.light("red");
}
else if (command === "free") {
light.light("green");
}
else if (command === "police") {
if (command === "police") {
light.blink(["red", "blue"], 150);
}
else {
else if (!command) {
light.blink(["red", "orange", "green", "blue", "purple"], 150);
}
//# sourceMappingURL=busylight-cli.js.map
else {
var color = command;
if (command === "busy") {
color = "red";
}
else if (command === "free") {
color = "green";
}
if (process.argv.indexOf("--pulse") > -1) {
light.pulse(color, 500);
}
else if (process.argv.indexOf("--blink") > -1) {
light.blink(color, 500);
}
else {
light.light(color);
}
}
{
"name": "busylight-cli",
"version": "1.0.0",
"version": "1.1.0",
"description": "CLI for kuando busylight",

@@ -5,0 +5,0 @@ "main": "index.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