Socket
Book a DemoInstallSign in
Socket

@startupjs/babel-plugin-react-pug-classnames

Package Overview
Dependencies
Maintainers
6
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@startupjs/babel-plugin-react-pug-classnames

[react-pug] Transform className property using BEM classnames-like function

latest
Source
npmnpm
Version
0.55.8
Version published
Weekly downloads
342
95.43%
Maintainers
6
Weekly downloads
 
Created
Source

@startupjs/babel-plugin-react-pug-classnames

Allows to properly parse sub-components in pug:

Card
  Card.Header.top(styleName={ active } title='Title')
    | Hello world
  Card.Content.middle
  Card.Footer(buttons=['Confirm', 'Cancel'])

License

MIT

Keywords

babel

FAQs

Package last updated on 16 Dec 2023

Did you know?

Socket

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