# css-var

> CSS custom property helper utility

Latest version **1.0.0-b0** (published 2016-11-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install css-var
pnpm add css-var
yarn add css-var
bun add css-var
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-b0 |
| Published | 2016-11-06 |
| First published | 2016-11-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Brent Jackson |
| Maintainers | jxnblk |

## Links

- npm: https://www.npmjs.com/package/css-var
- npm.io page: https://npm.io/package/css-var

## Recent versions

- 1.0.0-b0 (latest) — 2016-11-06

## README

# css-var

CSS custom properties helper utility

  npm i css-var

```js
import cv from 'css-var'

// Set a custom property
cv({ blue: '#07c' })

const style = {
  // Use custom property
  color: cv('blue') // 'var(--blue)'
}
```

Currently only works client-side

MIT License

---
_Source: https://npm.io/package/css-var · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
