Stand alone deps format normalizer.
NOTE: This module is in work in progress state.
var normalizeDeps = require('normalize-deps');
console.log(normalizeDeps({ block : 'i-bem', elems : ['dom', 'html'] }));[ { block: 'i-bem' },
{ block: 'i-bem', elem: 'dom' },
{ block: 'i-bem', elem: 'html' } ]
WTFPL