# vxv-parser

> CSS parser for vxv

Latest version **3.0.0** (published 2018-02-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install vxv-parser
pnpm add vxv-parser
yarn add vxv-parser
bun add vxv-parser
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2018-02-23 |
| First published | 2018-02-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8 |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Tobias Herber |
| Maintainers | tobihrbr |
| Keywords | vxv, css, parse, stylis, prefix, namespace |

## Links

- npm: https://www.npmjs.com/package/vxv-parser
- Repository: https://github.com/herber/vxv
- Homepage: https://github.com/herber/vxv#readme
- Issues: https://github.com/herber/vxv/issues
- npm.io page: https://npm.io/package/vxv-parser

## Dependencies (1)

- [stylis](https://npm.io/package/stylis.md) ^3.4.10

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2018-02-23

## README

<h1 align="center">VXV - Parser</h1>

<p align="center">
  <a href="https://travis-ci.org/herber/vxv"><img src="https://travis-ci.org/herber/vxv.svg?branch=master" alt="Build Status"></a>
  <a href="https://codecov.io/gh/herber/vxv"><img src="https://codecov.io/gh/herber/vxv/branch/master/graph/badge.svg" /></a>
  <a href="https://npm.im/vxv-parser"><img src="https://img.shields.io/npm/v/vxv-parser.svg" alt="vxv"></a>
</p>

<p align="center">
  __VXV's__ css parser, powered by [stylis](https://github.com/thysultan/stylis.js)
</p>

## Install

```
$ npm install vxv-parser
```

## Usage

__VXV-Parser__ namespaces your styles with any selector and automatically prefixes css rules.

### Prefixed styles

```js
const parser = require('vxv-parser');

parser('.hello', `
  .world {
    color: green;
  }
`);
// => .hello .world {
// =>   color: green;
// => }
```

### Global styles

```js
const parser = require('vxv-parser');

parser('.hello', `
  :global(body) {
    background: red;
  }
`);
// => body {
// =>   color: red;
// => }
```

## License

MIT © [Tobias Herber](http://tobihrbr.com)

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