# @linaria/shaker

> Blazing fast zero-runtime CSS in JS library

Latest version **5.0.3** (published 2023-11-09) · MIT license · 0 weekly downloads

## Install

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

## 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.3 |
| Published | 2023-11-09 |
| First published | 2020-11-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.0.0 |
| Dependencies | 10 |
| Unpacked size | 170.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12351 |
| Maintainers | thymikee, satya164, zamotany, anber |
| Keywords | babel, babel-plugin, css, css-in-js, linaria, react, styled-components |

## Links

- npm: https://www.npmjs.com/package/@linaria/shaker
- 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/shaker

## Dependencies (10)

- [@babel/core](https://npm.io/package/@babel/core.md) ^7.22.15
- [ts-invariant](https://npm.io/package/ts-invariant.md) ^0.10.3
- [@linaria/utils](https://npm.io/package/@linaria/utils.md) ^5.0.2
- [@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/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.22.15
- [@babel/plugin-transform-runtime](https://npm.io/package/@babel/plugin-transform-runtime.md) ^7.22.15
- [@babel/plugin-transform-modules-commonjs](https://npm.io/package/@babel/plugin-transform-modules-commonjs.md) ^7.22.15
- [@babel/plugin-transform-template-literals](https://npm.io/package/@babel/plugin-transform-template-literals.md) ^7.22.5
- [babel-plugin-transform-react-remove-prop-types](https://npm.io/package/babel-plugin-transform-react-remove-prop-types.md) ^0.4.24

## 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.3 (latest) — 2023-11-09
- 3.0.0-airbnb.0 (legacy) — 2023-01-19
- 3.0.0-beta.23 (beta) — 2022-08-16
- 5.0.2 — 2023-09-28
- 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.2.11 — 2023-05-05
- 4.2.10 — 2023-04-24
- 4.2.9 — 2023-02-20
- 4.2.8 — 2023-02-06
- 4.2.7 — 2023-01-06
- … 34 more at https://npm.io/package/@linaria/shaker/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/shaker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
