# styled-prefixer

> A utility for applying vendor prefixes to CSS styles in JavaScript and converting them into a string format.

Latest version **1.0.1** (published 2024-04-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install styled-prefixer
pnpm add styled-prefixer
yarn add styled-prefixer
bun add styled-prefixer
```

## 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.1 |
| Published | 2024-04-05 |
| First published | 2024-04-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | garizs |
| Maintainers | garizs |
| Keywords | css, autoprefixer, styles, vendor, prefixes, styled, inline-style |

## Links

- npm: https://www.npmjs.com/package/styled-prefixer
- Repository: https://github.com/garizs/styled-prefixer
- Homepage: https://github.com/garizs/styled-prefixer#readme
- Issues: https://github.com/garizs/styled-prefixer/issues
- npm.io page: https://npm.io/package/styled-prefixer

## Dependencies (2)

- [postcss](https://npm.io/package/postcss.md) ^8.4.5
- [autoprefixer-css-js](https://npm.io/package/autoprefixer-css-js.md) ^1.0.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2024-04-05
- 1.0.0 — 2024-04-05

## README

# styled-prefixer

A utility for applying vendor prefixes to CSS styles in JavaScript and converting them into a string format.

## Installation

```bash
npm install styled-prefixer
```

## Usage

```javascript
import styledPrefixer from 'styled-prefixer';

const styles = {
  display: 'flex',
  justifyContent: 'center',
  alignItems: 'center'
};

const prefixedStyles = styledPrefixer(styles);
// Use prefixedStyles as inline style or CSS class content
```

## Features

- Automatically applies necessary vendor prefixes.
- Converts JavaScript style objects into a string format.
- Can be used for inline styling or CSS classes.

## Contributing

Contributions are welcome. Please open an issue first to discuss what you would like to change.

## License

This project is licensed under the MIT License - see the LICENSE file for details.

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