Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bemmy

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bemmy - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "bemmy",
"version": "1.0.1",
"version": "1.0.2",
"description": "Dependency-free utility to compose CSS classnames following the BEM convention.",

@@ -5,0 +5,0 @@ "author": {

@@ -26,7 +26,7 @@ # bemmy

bem(null, 'disabled'); // block + modifier
// -> 'component component--disabled'
bem(null, 'tall'); // block + modifier
// -> 'component component--tall'
bem('content', 'disabled'); // block + element + modifier
// -> 'component__content component__content--disabled'
bem('content', 'tall'); // block + element + modifier
// -> 'component__content component__content--tall'

@@ -39,4 +39,4 @@ bem('content', { tall: true, green: false }); // modifier object

bem(null, null, 'some-class', 'another-class'); // // additional classes
bem(null, null, 'some-class', 'another-class'); // additional classes
// -> 'component some-class another-class'
```
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc