dotbars

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i dotbars

Weekly Downloads

0

Version

0.0.1

License

ISC

Last publish

Collaborators

  • stefanpenner