# css-to-mp.macro

> Yet another css to mp macro, it's stay very simple, next version will be enhanced.

Latest version **0.0.1** (published 2018-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install css-to-mp.macro
pnpm add css-to-mp.macro
yarn add css-to-mp.macro
bun add css-to-mp.macro
```

## 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 | 2018-11-17 |
| First published | 2018-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ygmpkk |

## Links

- npm: https://www.npmjs.com/package/css-to-mp.macro
- npm.io page: https://npm.io/package/css-to-mp.macro

## Dependencies (2)

- [css](https://npm.io/package/css.md) ^2.2.4
- [babel-literal-to-ast](https://npm.io/package/babel-literal-to-ast.md) ^2.0.0

## Recent versions

- 0.0.1 (latest) — 2018-11-17

## README

# css-to-mp.macro

Yet another css to mp macro, it's stay very simple, next version will be enhanced.

## Usage

```
import css from 'css-to-mp.macro'

const styles = css`
  .container {
    flex: 1;
    justify-content: center;
    align-items: center;
    height: 100rpx;
  }
  .text {
    font-size: 12;
    font-weight: bold;
    color: #fefefe;
    padding-left: 20px;
  }
`
```

> Warn: varible should be transform to value, maybe incorrect dynamic changed by props/state.

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