# @linaria/utils

> Blazing fast zero-runtime CSS in JS library

Latest version **5.0.2** (published 2023-09-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @linaria/utils
pnpm add @linaria/utils
yarn add @linaria/utils
bun add @linaria/utils
```

## Health

**Score 50/100 (C)** — status: abandoned.

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

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 5.0.2 |
| Published | 2023-09-28 |
| First published | 2021-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.0.0 |
| Dependencies | 10 |
| Unpacked size | 767.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 12351 |
| Maintainers | thymikee, satya164, zamotany, anber |
| Keywords | css, css-in-js, linaria, react, styled-components |

## Links

- npm: https://www.npmjs.com/package/@linaria/utils
- Repository: https://github.com/callstack/linaria
- Homepage: https://github.com/callstack/linaria#readme
- Issues: https://github.com/callstack/linaria/issues
- npm.io page: https://npm.io/package/@linaria/utils

## Dependencies (10)

- [find-up](https://npm.io/package/find-up.md) ^5.0.0
- [minimatch](https://npm.io/package/minimatch.md) ^9.0.3
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.22.15
- [babel-merge](https://npm.io/package/babel-merge.md) ^3.0.0
- [@babel/types](https://npm.io/package/@babel/types.md) ^7.22.15
- [@babel/template](https://npm.io/package/@babel/template.md) ^7.22.15
- [@babel/traverse](https://npm.io/package/@babel/traverse.md) ^7.22.15
- [@linaria/logger](https://npm.io/package/@linaria/logger.md) ^5.0.0
- [@babel/generator](https://npm.io/package/@babel/generator.md) ^7.22.15
- [@babel/plugin-transform-modules-commonjs](https://npm.io/package/@babel/plugin-transform-modules-commonjs.md) ^7.22.15

## 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

- 5.0.2 (latest) — 2023-09-28
- 3.0.0-airbnb.0 (legacy) — 2023-01-19
- 5.0.1 — 2023-09-23
- 5.0.0 — 2023-09-23
- 4.5.3 — 2023-07-25
- 4.5.2 — 2023-07-23
- 4.5.1 — 2023-07-16
- 4.5.0 — 2023-07-13
- 4.3.4 — 2023-05-05
- 4.3.3 — 2023-04-24
- 4.3.2 — 2023-02-20
- 4.3.1 — 2023-02-06
- 4.3.0 — 2023-01-06
- 4.2.6 — 2022-12-05
- 4.2.5 — 2022-12-01
- … 14 more at https://npm.io/package/@linaria/utils/versions

## README

<p align="center">
  <img alt="Linaria" src="https://raw.githubusercontent.com/callstack/linaria/HEAD/website/assets/linaria-logo@2x.png" width="496">
</p>

<p align="center">
Zero-runtime CSS in JS library.
</p>

---

### 📖 Please refer to the [GitHub](https://github.com/callstack/linaria#readme) for full documentation.

## Features

- Write CSS in JS, but with **zero runtime**, CSS is extracted to CSS files during build
- Familiar **CSS syntax** with Sass like nesting
- Use **dynamic prop based styles** with the React bindings, uses CSS variables behind the scenes
- Easily find where the style was defined with **CSS sourcemaps**
- **Lint your CSS** in JS with [stylelint](https://github.com/stylelint/stylelint)
- Use **JavaScript for logic**, no CSS preprocessor needed
- Optionally use any **CSS preprocessor** such as Sass or PostCSS

**[Why use Linaria](../../docs/BENEFITS.md)**

## Installation

```sh
npm install @linaria/core @linaria/react @linaria/babel-preset
```

or

```sh
yarn add @linaria/core @linaria/react @linaria/babel-preset
```

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