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

postcss-cva

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-cva - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "postcss-cva",
"description": "generate cva functions by css comment",
"version": "0.1.0",
"version": "0.1.1",
"keywords": [

@@ -6,0 +6,0 @@ "cva",

@@ -52,2 +52,24 @@ # postcss-cva

### Install
```bash
npm i -D postcss-cva
yarn add -D postcss-cva
pnpm add -D postcss-cva
```
### postcss.config.[c]js
```js
module.exports = {
plugins: {
// options
'postcss-cva': {},
// 'postcss-cva': {
//
// },
}
}
```
For example, in this plugin

@@ -58,5 +80,5 @@

> The same `query` will be merged with `params` together
>
> Note ⚠ ️: If you use `scss`, you can use the `//` below for comment, otherwise please use `/* */`
<!-- > Note ⚠ ️: If you use `scss`, you can use the `//` below for comment, otherwise please use `/* */` -->
```css

@@ -183,4 +205,19 @@ /* @meta path="button" */

### remove
Type: `boolean`
Default: `true`
remove all `@xx` comment
### include / exclude
Type: `String | RegExp | Array[...String|RegExp]`
A valid picomatch pattern, or array of patterns. If options.include is omitted or has zero length, filter will return true by default. Otherwise, an ID must match one or more of the picomatch patterns, and must not match any of the options.exclude patterns.
Note that picomatch patterns are very similar to minimatch patterns, and in most use cases, they are interchangeable. If you have more specific pattern matching needs, you can view this comparison table to learn more about where the libraries differ.
## License
[MIT](../../LICENSE) License &copy; 2023-PRESENT [sonofmagic](https://github.com/sonofmagic)
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