Comparing version 1.0.7 to 1.0.8
@@ -18,2 +18,6 @@ 'use strict' | ||
console.draft = function draft() { | ||
// Log this | ||
console.log.apply(null, arguments) | ||
// Return usual console.log method | ||
return console.log.bind(console) | ||
@@ -20,0 +24,0 @@ } |
{ | ||
"name": "draftlog", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Update logged lines after logging them", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -68,3 +68,3 @@ ![DraftLog](midia/draftlog.png) | ||
console.log('It doesn't matter') | ||
console.log('It doesn`t matter') | ||
console.log('How \n many \n lines \n ituses') | ||
@@ -141,2 +141,4 @@ ``` | ||
DraftLog(console, true) | ||
// Or, with one line require-init: | ||
require('draftlog').into(console, true) | ||
``` | ||
@@ -143,0 +145,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
2445966
542
145