var fs = require('fs') var createHTML = require('create-html') var html = createHTML({ title: 'Példa', lang: 'hu', css: 'style.css', script: 'script.js', body: '

Példa

' }) fs.writeFile('index.html', html, function (err) { if (err) console.log(err) })