utils/scripts/readme.js
Martin Donnelly c30b36b3f6 init
2020-11-17 11:16:34 +00:00

8 lines
191 B
JavaScript

const fs = require('fs');
const path = require('path');
const marked = require('marked');
const md = fs.readFileSync(path.join(__dirname, '../README.md'), 'utf8');
console.log(marked(md));