gengojs-debug
Advanced tools
Comparing version 1.0.1 to 1.1.1
@@ -41,5 +41,4 @@ import debug from 'debug'; | ||
*/ | ||
export default | ||
function debufigy (namespace, level, ...args) { | ||
export default (namespace, level, ...args) => { | ||
(new Debug(namespace, level, args)).log(); | ||
} | ||
}; |
{ | ||
"name": "gengojs-debug", | ||
"version": "1.0.1", | ||
"version": "1.1.1", | ||
"description": "The debugger console for gengo.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,3 +8,3 @@ # gengojs-debug | ||
```javascript | ||
import {debugify as debug} from 'gengojs-debug'; | ||
import debug from 'gengojs-debug'; | ||
@@ -24,3 +24,2 @@ debug(namespace:string, level:string, args:*); | ||
# In OSX, set the namespace and the debug level then run a file: | ||
DEBUG=gengo.core:warn, node index.js | ||
@@ -27,0 +26,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
8479
105
61