A simple tool for converting html files into bem declarations (bemdecl.js)
npm install html2bemdeclA simple tool for converting bem-friendly HTML files into bemdecl.js declarations
``bash`
$ [sudo] npm install html2bemdecl -g
`bash
$ html2bemdecl --help
Usage: html2bemdecl [options]
Options:
-h, --help output usage information
-V, --version output the version number
-i, --input
-o, --output
-enc, --encoding Input file encoding [encoding]
``
You must specify paths to input and output files. That's all!
NOTE: bem-friendly HTML means that all your bem classes start with b- l- or i- prefixes.