# styletron-standard

> Standard interfaces for Styletron

Latest version **3.1.0** (published 2022-07-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install styletron-standard
pnpm add styletron-standard
yarn add styletron-standard
bun add styletron-standard
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.0 |
| Published | 2022-07-26 |
| First published | 2018-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 63 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3308 |
| Author | Ryan Tsao |
| Maintainers | rtsao |

## Links

- npm: https://www.npmjs.com/package/styletron-standard
- Repository: https://github.com/styletron/styletron
- npm.io page: https://npm.io/package/styletron-standard

## Dependencies (3)

- [csstype](https://npm.io/package/csstype.md) ^3.0.0
- [@rtsao/csstype](https://npm.io/package/@rtsao/csstype.md) 2.6.5-forked.0
- [inline-style-prefixer](https://npm.io/package/inline-style-prefixer.md) ^5.1.0

## Recent versions

- 3.1.0 (latest) — 2022-07-26
- 3.1.0-beta.1 (beta) — 2022-06-28
- 3.1.0-beta.2 — 2022-07-05
- 3.1.0-beta.0 — 2022-06-28
- 3.0.5 — 2021-02-17
- 3.0.4 — 2019-11-04
- 3.0.3 — 2019-10-22
- 3.0.2 — 2019-10-22
- 3.0.1 — 2019-09-04
- 3.0.0 — 2019-06-20
- 2.0.4 — 2019-05-31
- 2.0.3 — 2019-05-08
- 2.0.2 — 2019-03-05
- 2.0.1 — 2018-12-15
- 2.0.0 — 2018-12-13
- … 16 more at https://npm.io/package/styletron-standard/versions

## README

# styletron-standard

[![npm version][npm-badge]][npm-href] [![dependencies status][deps-badge]][deps-href]

Opinionated, standard interfaces for Styletron.

**Check our documentation at [styletron.org](https://www.styletron.org)**.

## Installation

```
yarn add styletron-standard
```

## API

### Style object interface

```js
import type { StyleObject } from "styletron-standard";
```

`styletron-standard` defines a specific style object interface (along with corresponding Flow type definitions).

### Engine interface

```js
import type { StandardEngine } from "styletron-standard";
```

`styletron-standard` also defines a standard engine interface.

```js
interface StandardEngine {
  renderStyle,
  renderKeyframes,
  renderFontFace,
};
```

### Driver

```js
import type { StandardEngine } from "styletron-standard";
```

[deps-badge]: https://david-dm.org/rtsao/styletron-standard.svg
[deps-href]: https://david-dm.org/rtsao/styletron-standard
[npm-badge]: https://badge.fury.io/js/styletron-standard.svg
[npm-href]: https://www.npmjs.com/package/styletron-standard

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