# style-string

> Generate inline style strings

Latest version **1.0.1** (published 2017-08-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install style-string
pnpm add style-string
yarn add style-string
bun add style-string
```

## 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 | 2017-08-16 |
| First published | 2017-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tobias Herber |
| Maintainers | tobihrbr |

## Links

- npm: https://www.npmjs.com/package/style-string
- Repository: https://github.com/tobihrbr/style-string
- Homepage: https://github.com/tobihrbr/style-string#readme
- Issues: https://github.com/tobihrbr/style-string/issues
- npm.io page: https://npm.io/package/style-string

## Dependencies (1)

- [escapify](https://npm.io/package/escapify.md) ^1.0.0

## Recent versions

- 1.0.1 (latest) — 2017-08-16
- 1.0.0 — 2017-08-16

## README

# style-string [![Build Status](https://travis-ci.org/tobihrbr/style-string.svg?branch=master)](https://travis-ci.org/tobihrbr/style-string)

> Generate inline style strings

## Install

```
$ npm install --save style-string
```

## Usage

```js
const styleString = require('style-string');

styleString({ 'font-site': '18px', color: 'red' });
//=> 'font-site: 18px; color: red'
```

## API

### styleString(styles)

#### styles

Type: `object`

## License

MIT © [Tobias Herber](https://tobihrbr.com)

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