Skip to main content
Deno 2 is finally here 🎉️
Learn more

Paint

quickstart

import { log } from 'https://deno.land/x/paint/mod.js';

log('some blue text', 'blue');

log

parameters

log(text, style, reset)

text is the message you want to log
style is the foreground/background of the text
reset is a boolean that makes the style reset after logging
(default is true)

hex colours

log('hex colours yay!', '#4bc236');

reset example

log('blue text', 'blue', false);
log('this is also blue');
log('this is blue too');
log('this is normal', 'reset')