1.0.1 • Published 5 years ago
console-tag v1.0.1
console-tag
Installation
npm install --save console-tag
Usage
import consoleTag from 'console-tag';
consoleTag.setTag('myTag1','pink');
consoleTag.setTag('myTag2','#ffc0cb');
console.myTag1('console logging something under myTag1 with pink tag')
const myTags = [
{ tagName: 'myTag3', color: 'blue' },
{ tagName: 'myTag4', color: '#ffc0cb' },
];
consoleTag.setTags(myTags);
console.myTag3('console logging something under myTag3with blue tag')