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) 246 B
const fs = require('fs/promises'); const getTemplate = (filePath) => fs.readFile(filePath,'utf8') .then(text => { return text.replace(/include k-scaffold/g,'include /node_modules/@kurohyou/k-scaffold/_k.pug') }); module.exports = getTemplate;