1.1.1 • Published 6 years ago

classnames-melt v1.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

Description

A tool to generate a object which key-value is a string of class names based on given config.

input

{
  hello:{
   world: ['&', 'test1', '&-test2',{
     child: ['&'],
     test: true,
   },]
  }
}

output

 {
  "hello": {
    "_world": " hello-world test1 hello-world-test2",
    "world": {
      "_child": " hello-world-child",
      "_test": " hello-world-test",
    }
  }
}
1.1.1

6 years ago

1.1.0

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago