Skip to content

hemantic/html2bemdecl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published