html2bemdecl

0.1.2 • Public • Published

html2bemdecl

A simple tool for converting bem-friendly HTML files into bemdecl.js declarations

Install

$ [sudo] npm install html2bemdecl [-g]

Usage

$ html2bemdecl --help
 
Usage: html2bemdecl [options]
 
Options:
 
  -h, --help               output usage information
  -V, --version            output the version number
  -i, --input <filename>   Input HTML file
  -o, --output <filename>  Output BEMDECL
  -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.

/html2bemdecl/

    Package Sidebar

    Install

    npm i html2bemdecl

    Weekly Downloads

    1

    Version

    0.1.2

    License

    BSD

    Last publish

    Collaborators

    • hemantic