# rework-font-variant

> Implements the font-variant-* properties for browsers that don't yet support them.

Latest version **1.0.1** (published 2014-06-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install rework-font-variant
pnpm add rework-font-variant
yarn add rework-font-variant
bun add rework-font-variant
```

## 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 | 2014-06-27 |
| First published | 2013-09-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | ianstormtaylor, moox |
| Keywords | font-variant, font, variant, rework, type, typography, open, type, feature, font-feature-settings |

## Links

- npm: https://www.npmjs.com/package/rework-font-variant
- Repository: https://github.com/ianstormtaylor/rework-font-variant
- Issues: https://github.com/ianstormtaylor/rework-font-variant/issues
- npm.io page: https://npm.io/package/rework-font-variant

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2014-06-27
- 1.0.0 — 2013-12-23
- 0.0.3 — 2013-12-13
- 0.0.2 — 2013-09-30
- 0.0.1 — 2013-09-30

## README

# rework-font-variant

  Adds support for the nice `font-variant` CSS properties that are shorthand for the really awkward `font-feature-settings` values. 

  This is part of the [CSS spec](http://www.w3.org/TR/css3-fonts/#font-rend-props), but no browser supports the shorthands yet.

## Installation

    $ npm install rework-font-variant

## Example

```js
var variant = require('rework-font-variant');

rework(css)
  .use(variant)
  .toString();
```

## API

  In your CSS, use the font-variant properties like [the spec](http://www.w3.org/TR/css3-fonts/#font-rend-props) tells you to:

```css
h2 {
  font-variant-caps: small-caps;
}

table {
  font-variant-numeric: lining-nums;
}
```

  Or use the `font-variant` shorthand:

```css
table {
  font-variant: small-caps lining-nums;
}
```

## License

  MIT

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