# babel-plugin-goober-css-prop-esm

> Babel plugin that enables CSS prop for Goober and ESM (e.g. Vite)

Latest version **0.0.1** (published 2022-02-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-goober-css-prop-esm
pnpm add babel-plugin-goober-css-prop-esm
yarn add babel-plugin-goober-css-prop-esm
bun add babel-plugin-goober-css-prop-esm
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2022-02-21 |
| First published | 2022-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Hideki Tanaka |
| Maintainers | tuxsnct |
| Keywords | css-in-js, babel-plugin, goober |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-goober-css-prop-esm
- Repository: https://github.com/tuxsnct/babel-plugin-goober-css-prop-esm
- Homepage: https://github.com/tuxsnct/babel-plugin-goober-css-prop-esm#readme
- Issues: https://github.com/tuxsnct/babel-plugin-goober-css-prop-esm.git/issues
- npm.io page: https://npm.io/package/babel-plugin-goober-css-prop-esm

## Dependencies (2)

- [@babel/plugin-syntax-jsx](https://npm.io/package/@babel/plugin-syntax-jsx.md) ^7.12.1
- [@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.1 (latest) — 2022-02-21

## README

# Babel Plugin Goober CSS Prop ESM

Most of the code here is from [`babel-plugin-css-prop`](https://github.com/satya164/babel-plugin-css-prop) which has been customised for [`goober`](https://github.com/cristianbote/goober)

![npm (scoped)](https://img.shields.io/npm/v/@agney/babel-plugin-goober-css-prop?style=flat-square)
[![Twitter Follow](https://img.shields.io/twitter/follow/agneymenon?style=flat-square&color=informational)](https://twitter.com/agneymenon)

```bash
# Installation
npm install --save-dev babel-plugin-goober-css-prop-esm
```

## Usage

In `.babelrc` (or any babel configuration type):

```json
{
  "plugins": [
    "babel-plugin-transform-goober",
    "babel-plugin-goober-css-prop-esm"
  ]
}
```


This has been tested only for a specific use case for usage with [`twin.macro`](https://github.com/ben-rogerson/twin.macro). Any contributions welcome.

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