# done-css

> A CSS plugin, for css

Latest version **3.1.0** (published 2020-05-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install done-css
pnpm add done-css
yarn add done-css
bun add done-css
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.0 |
| Published | 2020-05-01 |
| First published | 2015-05-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 76.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Bitovi |
| Maintainers | justinbmeyer, m-mujica, matthewp, phillipskevin |
| Keywords | StealJS, SystemJS, CSS |

## Links

- npm: https://www.npmjs.com/package/done-css
- Repository: https://github.com/donejs/css
- Issues: https://github.com/donejs/css/issues
- npm.io page: https://npm.io/package/done-css

## Dependencies (1)

- [steal-css](https://npm.io/package/steal-css.md) ^1.1.1

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

- 3.1.0 (latest) — 2020-05-01
- 3.0.0-alpha.5 (alpha) — 2017-03-02
- 2.1.0-pre.0 (pre) — 2016-05-31
- 3.0.2 — 2018-02-02
- 3.0.1 — 2017-05-22
- 3.0.0 — 2017-03-21
- 3.0.0-alpha.4 — 2017-01-25
- 3.0.0-alpha.3 — 2017-01-24
- 3.0.0-alpha.2 — 2017-01-10
- 3.0.0-alpha.1 — 2017-01-06
- 3.0.0-alpha.0 — 2017-01-03
- 2.0.3 — 2016-04-06
- 2.0.2 — 2016-03-11
- 2.0.1 — 2016-03-08
- 2.0.0 — 2016-03-03
- … 30 more at https://npm.io/package/done-css/versions

## README

# done-css

[![Build Status](https://travis-ci.org/donejs/css.svg?branch=worker)](https://travis-ci.org/donejs/css)
[![npm version](https://badge.fury.io/js/done-css.svg)](http://badge.fury.io/js/done-css)

A CSS plugin for DoneJS projects.

This is the normal Steal CSS plugin with a few DoneJS specific features like live-reload and server-side rendering included.

## Install

To use this plugin in a DoneJS project just install it:

```js
npm install done-css --save
```

## Features

### renderingCacheVersion

When server-side rendering with [done-ssr](https://github.com/donejs/done-ssr) and using the [cache busting](https://stealjs.com/docs/config.cacheVersion.html) extension you need to specify the `renderingCacheVersion` property in your config. You might do so like this:

```js
const ssr = require("done-ssr");

const render = ssr({
	renderingCacheVersion: 99
});
```

Doing this will result in the cache version number appearing in the server-rendered `<link>` elements.

## Contributing

To setup your dev environment:

1. Clone and fork this repo.
2. Run `npm install`.
3. Open `test/test.html` in your browser. Everything should pass.
4. Run `npm test`. Everything should pass.
5. Run `npm run-script build`. Everything should build ok.
To publish:

1. Update the version number in package.json
2. Update the version number in `test/live-ssr/index.html`
3. Commit and push this to master
4. Tag it `git tag v0.2.0`. Push the tag `git push origin --tags`.

## License

MIT

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