README
Dotbars
Use Handlebars to generate dotfiles
usage
npm install dotbars
const dotbars = require('dotbars');
const template = dotbars`
digraph G {
{{#each list}}
{{this}} -> t;
{{/each}}
}
`;
console.log(template({
deps: [
'a1',
'b1',
'c1'
]
}));
node file.js | dot -Tpng > out.png