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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i dotbars

Weekly Downloads

1

Version

0.0.1

License

ISC

Last publish

Collaborators

  • stefanpenner