Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 558 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 558 Bytes

normalize-deps

npm version

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' } ]

License

WTFPL