# babel-plugin-filbert

> babel plugin for filbert-js

Latest version **0.0.8** (published 2020-12-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-filbert
pnpm add babel-plugin-filbert
yarn add babel-plugin-filbert
bun add babel-plugin-filbert
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2020-12-08 |
| First published | 2020-07-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 175 |
| Author | Kuldeep Keshwar |
| Maintainers | kuldeepkeshwar |
| Keywords | babel-plugin, javascript, react, preact, css, css-in-js, filbert-js, 1kb, light-weight, styling, styled, emotion, styled-components |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-filbert
- Repository: https://github.com/kuldeepkeshwar/filbert-js
- Homepage: https://github.com/kuldeepkeshwar/filbert-js#readme
- Issues: https://github.com/kuldeepkeshwar/filbert-js/issues
- npm.io page: https://npm.io/package/babel-plugin-filbert

## Dependencies (2)

- [@babel/core](https://npm.io/package/@babel/core.md) ^7.0.0-0
- [@babel/plugin-transform-react-jsx](https://npm.io/package/@babel/plugin-transform-react-jsx.md) ^7.10.4

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

- 0.0.8 (latest) — 2020-12-08
- 0.0.7 — 2020-08-06
- 0.0.6 — 2020-07-28
- 0.0.5 — 2020-07-14
- 0.0.4 — 2020-07-11
- 0.0.3 — 2020-07-09

## README

# babel-plugin-filbert

A [Babel](https://babeljs.io/) plugin for filbert, converts `styled.div` syntax to `styled('div')` calls.

## Install

`npm install --save babel-plugin-filbert`

## How to use

Edit `.babelrc.json`

```js editor=static
{
  "presets": [...],
  "plugins": ["babel-plugin-filbert"]
}
```

And now you can create your components using `styled.*` syntax:

```jsx editor=static
import React from 'react';
import { styled } from 'filbert';

const Button = styled.button`
  margin: 0;
  padding: 1rem;
  font-size: 1rem;
  background-color: tomato;
`;
```

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