krayon
v0.2.2
Published
๐ make javascript colorful
Downloads
14
Readme
krayon
๐ make javascript colorful
Installation
npm install krayon --save
Usage
require('krayon/dist/krayon.css');
const krayon = require('krayon');
// This will colorize your javascript and output an HTML string
krayon(`
// this is a cool library check it out
let table = new Turtler([
["uid", "name"],
["1", "Doe"],
["2", "Hemma"]
], {
hasHeader: true,
columnSeperator: ' | ',
headerSeperator: '='
});
console.log(table);
`);