Comparing version 1.5.1 to 1.5.2
{ | ||
"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 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
4864
71