# css-box-shadow

> CSS box-shadow parser and stringifier

Latest version **1.0.0-3** (published 2017-06-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install css-box-shadow
pnpm add css-box-shadow
yarn add css-box-shadow
bun add css-box-shadow
```

## 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-3 |
| Published | 2017-06-01 |
| First published | 2017-06-01 |
| 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-box-shadow
- npm.io page: https://npm.io/package/css-box-shadow

## Recent versions

- 1.0.0-3 (latest) — 2017-06-01
- 1.0.0-2 — 2017-06-01
- 1.0.0-1 — 2017-06-01
- 1.0.0-0 — 2017-06-01

## README

# css-box-shadow

CSS box shadow parser and stringifier

```sh
npm i css-box-shadow
```

```js
const { parse, stringify } = require('css-box-shadow')

// parse a CSS string value into an array of objects
const parsed = parse('0 0 0 32px tomato')
// [{ inset: false,
//   offsetX: 0,
//   offsetY: 0,
//   blurRadius: 0,
//   spreadRadius: 32,
//   color: 'tomato' }]

// convert an array of objects into a box-shadow string value
const value = stringify(parsed)
// '0 0 0 32px tomato'
```

MIT License

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