Socket
Socket
Sign inDemoInstall

beml-cli

Package Overview
Dependencies
16
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    beml-cli

Command line HTML post-processor


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
1.53 MB
Created
Weekly downloads
 

Readme

Source

What

Command line tool to post-process HTML, parsing BEM attributes and transforming them in plain HTML.

Usage

Usage:
    beml-cli <input>
    beml-cli -h | --help | --version

Processed output on stdout.

Example

input.html:

<div block="b-animals">
     <div elem="cat" mod="size:big, color:red"></div>
</div>

command:

beml-cli input.html

output:

<div block="b-animals">
         <div elem="cat" mod="size:big, color:red"></div>
</div>
<div class="b-animals">
         <div class="b-animals__cat b-animals__cat_size_big b-animals__cat_color_red"></div>
</div>

Keywords

FAQs

Last updated on 27 Oct 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc