# @filbert-js/macro

> babel plugin macro for filbert-js

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

## Install

```sh
npm install @filbert-js/macro
pnpm add @filbert-js/macro
yarn add @filbert-js/macro
bun add @filbert-js/macro
```

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2020-12-08 |
| First published | 2020-07-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 175 |
| Author | Kuldeep Keshwar |
| Maintainers | kuldeepkeshwar |
| Keywords | babel-plugin-macros, 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/@filbert-js/macro
- 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/@filbert-js/macro

## Dependencies (3)

- [babel-plugin-macros](https://npm.io/package/babel-plugin-macros.md) 2.8.0
- [babel-plugin-filbert](https://npm.io/package/babel-plugin-filbert.md) 0.0.8
- [@babel/helper-module-imports](https://npm.io/package/@babel/helper-module-imports.md) 7.12.5

## 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.3 (latest) — 2020-12-08
- 0.0.2 — 2020-08-06
- 0.0.1 — 2020-07-21

## README

# @filbert-js/macro

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

## Install

`npm install --save @filbert-js/macro`

## How to use

```jsx editor=static
import React from 'react';
import { styled } from '@filbert-js/macro';

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

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