Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@integromat/debug
Advanced tools
A simple wrapper around `debug` module that adds Overseer integration.
A simple wrapper around debug
module that adds Overseer integration.
const debug = require('@integromat/debug');
const appLogger = debug('imt:app');
const appRequestLogger = debug('imt:app:request'); // either create entirely new function
const appResponseLogger = appLogger.extend('response'); // or extend existing one
appLogger('abc'); // ... imt:app abc
appRequestLogger('def'); // ... imt:app:request def
appResponseLogger('ghj'); // ... imt:app:response ghj
const obj = {};
appLogger('Object: %O', obj); // supports logging of objects
appLogger(`Object: ${JSON.stringify(obj, null, 2)}`); // but preferred way for deeply nested objects is template literal and JSON.stringify
appLogger(() => `Object: ${JSON.stringify(obj, null, 2)}`); // for computationally intense operations use lambda functions
appLogger(() => ['Object: %O', obj]); // if there are multiple arguments, it's okay to return array
FAQs
A simple wrapper around `debug` module that adds Overseer integration.
The npm package @integromat/debug receives a total of 0 weekly downloads. As such, @integromat/debug popularity was classified as not popular.
We found that @integromat/debug demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 49 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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.