Comparing version 1.0.2 to 1.0.3
@@ -101,3 +101,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
function indexOfClosingBracket(str, x=0) { | ||
let c | ||
let c | ||
let depth = 0 | ||
@@ -125,3 +125,3 @@ | ||
let [raw, ...computed] = arguments | ||
value = raw[0] | ||
value = raw[0] | ||
for (let i=1; i < raw.length; i++) | ||
@@ -200,5 +200,5 @@ value += computed[i-1] + raw[i] | ||
const print = newPrinter([console.log, '']) | ||
exports. default = print | ||
modeul.exports = print | ||
// print.green.bgBlack `Coucou [yellow: mon [:brave] Hercule], comment ça va ?` | ||
// print.error.red.bgBlack `Coucou [yellow][red.underline] mon [bold] brave Hercule[reset], comment ça va ?` |
{ | ||
"name": "cute-print", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Enjoyable and colored printing in the console with node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
16906