UNPKG

@kurohyou/k-scaffold

Version:

This framework simplifies the task of writing code for Roll20 character sheets. It aims to provide an easier interface between the html and sheetworkers with some minor css templates.

8 lines (6 loc) 285 B
const colors = require('colors'); const kErrorHead = (string) => { const borderForString = [...Array(string.length).keys()].map(()=>'=').join(''); console.log(`==========${borderForString}\n==== ${string} ====\n==========${borderForString}`.bgRed); } module.exports = kErrorHead;