Socket
Socket
Sign inDemoInstall

express-power

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-power - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

CHANGELOG.md

@@ -7,4 +7,4 @@ # express-power Changelog

## [1.0.0] - 2020-10-21
## [1.0.1] - 2020-10-21
### Initial Public Release
- Effortless clustering, logging & colors with Express.

@@ -105,10 +105,4 @@ require("colors");

const isFunction = functionToCheck => {
return functionToCheck && {}.toString.call(functionToCheck) === '[object Function]';
}
const load = (options = {}) => {
args = {...args, ...options};
if (!isFunction(args.master)) return console.log("Power error: master must be a function".red);
if (!isFunction(args.worker)) return console.log("Power error: worker must be a function".red);
if (typeof args.workers !== "number") return console.log("Power error: workers must be a number".red);

@@ -115,0 +109,0 @@ if (typeof args.logToFile !== "boolean") return console.log("Power error: logToFile must be a boolean".red);

{
"name": "express-power",
"version": "1.0.0",
"version": "1.0.1",
"description": "Express with superpowers! Effortless clustering, logging & colors with Express.",

@@ -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