# cssobj-core

> Generate Virtual CSS middle format, support for all cssobj functions and plugins.

Latest version **1.1.9** (published 2018-03-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install cssobj-core
pnpm add cssobj-core
yarn add cssobj-core
bun add cssobj-core
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.9 |
| Published | 2018-03-16 |
| First published | 2016-08-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 86.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | James Yang |
| Maintainers | cssobj |
| Keywords | cssom, virtual, css, cssobj, css in js |

## Links

- npm: https://www.npmjs.com/package/cssobj-core
- Repository: https://github.com/cssobj/cssobj-core
- Homepage: https://github.com/cssobj/cssobj-core#readme
- Issues: https://github.com/cssobj/cssobj-core/issues
- npm.io page: https://npm.io/package/cssobj-core

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

- 1.1.9 (latest) — 2018-03-16
- 1.1.8 — 2018-03-16
- 1.1.7 — 2018-01-22
- 1.1.5 — 2017-07-26
- 1.1.4 — 2017-07-26
- 1.1.3 — 2016-12-24
- 1.1.2 — 2016-12-23
- 1.1.1 — 2016-12-23
- 1.0.2 — 2016-12-20
- 1.0.0 — 2016-12-15
- 0.7.1 — 2016-11-17
- 0.6.4 — 2016-10-22
- 0.6.2 — 2016-10-19
- 0.6.1 — 2016-10-17
- 0.5.5 — 2016-10-07
- … 1 more at https://npm.io/package/cssobj-core/versions

## README

# CSSOBJ-CORE [![Join the chat at https://gitter.im/css-in-js/cssobj](https://badges.gitter.im/css-in-js/cssobj.svg)](https://gitter.im/css-in-js/cssobj)

[![Build Status](https://travis-ci.org/cssobj/cssobj-core.svg?branch=master)](https://travis-ci.org/cssobj/cssobj-core)
[![Coverage Status](https://coveralls.io/repos/github/cssobj/cssobj-core/badge.svg?branch=master)](https://coveralls.io/github/cssobj/cssobj-core?branch=master)
[![dependencies Status](https://david-dm.org/cssobj/cssobj-core/status.svg)](https://david-dm.org/cssobj/cssobj-core)
[![bitHound Overall Score](https://www.bithound.io/github/cssobj/cssobj-core/badges/score.svg)](https://www.bithound.io/github/cssobj/cssobj-core)

  Generate **Virtual CSS** middle format, support for all cssobj functions and plugins.

  **Notice** The core API is different than [cssobj][]

[cssobj]: https://github.com/cssobj/cssobj

## API

### cssobj_core (config?: object) -> cssobj_factory_function

  The `config` param is almost the same as [cssobj][], but **without** `local` and `cssom`

  The `config` param has 2 props: `plugins`, `state`, the 2 are same as [cssobj][]

### cssobj_factory_function (obj?: object, state?: any) -> cssobj_result: object

  All the things of `cssobj_factory_function` same as [cssobj][]

### cssobj_result

  The `cssobj_result` almost same as [cssobj][], but **don't have** below

  (below added by [cssobj-plugin-localize](https://github.com/cssobj/cssobj-plugin-localize) in [cssobj][])

  - `space`

  - `localNames`

  - `mapClass`

  - `mapSel`

  - `cssdom`

  (below added by [plugin-cssom](https://github.com/cssobj/cssobj-plugin-cssom) in [cssobj][])

  - `cssdom`

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