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

debugutil

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debugutil - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

8

package.json
{
"name": "debugutil",
"version": "1.5.1",
"version": "1.5.2",
"description": "Debug Utility Tool with Logging",

@@ -12,3 +12,4 @@ "main": "src/debug.js",

"Utility",
"Tool"
"Tool",
"Logging"
],

@@ -30,3 +31,6 @@ "author": "Melony Smith",

"mocha": "^3.2.0"
},
"repository": {
"URL": "https://github.com/melonysmith/debugutil"
}
}

@@ -25,4 +25,3 @@ ## debugutil

You will need to require the debugutil package in each file you wish it to run. You can do this by adding the following to the top of each file:
```
javascript
```javascript
require('utildebug');

@@ -36,3 +35,3 @@ ```

You will now receive green success and red error messages in your CLI as well as have them logged to the .log file.
You will now receive green success, yellow warn and red error messages in your CLI as well as have them logged to the .log file located in the logs folder.

@@ -64,3 +63,3 @@ To disable logging, use the following environmental variable:

fs.appendFile('./logs/logFile.log', function () {
console.log('Data was appended to file!');
console.log('Data was successfully appended to file!');
});

@@ -67,0 +66,0 @@ ```

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