bredon-plugin-case
The case plugin normalizes the letter case for all identifier, hex color values, assigment names and units.
It can either use lower-case or upper-case.
Installation
yarn add bredon-plugin-
You may alternatively use npm i --save bredon-plugin-case
.
Usage
const input = '1px SOLID AliceBlue' const output = console// => 1px solid aliceblue
Configuration
By default the plugin converts to lower-case.
Options | Value | Default | Description |
---|---|---|---|
case | lower , upper |
lower |
The prefered case |
const input = '1px SOLID AliceBlue' const output = console// => 1PX SOLID ALICEBLUE
License
Bredon is licensed under the MIT License.
Documentation is licensed under Creative Common License.
Created with ♥ by @rofrischmann and all the great contributors.