dab / html2bl

Getting blocks from html. Based on filestructure and redefinition levels.
8 stars 4 forks source link

Html2Bl

Tiny little script for getting blocks dirs from HTML file with redefinition levels.

var params = { levels: ['common.blocks', 'project.blocks'], htmlSrc: 'index.html'
},
    getFileNames = require('html2bl').getFileNames(params);

getFileNames.then(function(files) {
    // your logic here
})
.done()