# cascade.css

> An innovative CSS preprocessor made of JavaScript

Latest version **0.0.1** (published 2018-09-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install cascade.css
pnpm add cascade.css
yarn add cascade.css
bun add cascade.css
```

## 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-09-21 |
| First published | 2018-09-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Arthur Guiot |
| Maintainers | arguiot |
| Keywords | css, preprocessor, cascade, stylesheets |

## Links

- npm: https://www.npmjs.com/package/cascade.css
- Repository: https://github.com/arguiot/Cascade
- Homepage: https://github.com/arguiot/Cascade#readme
- Issues: https://github.com/arguiot/Cascade/issues
- npm.io page: https://npm.io/package/cascade.css

## 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) — 2018-09-21

## README

# Cascade
An innovative CSS preprocessor made of JavaScript (work in progress)

Exemple of what you can do with Cascade:
```js
const C = require("cascade");

C("button")
  .align("center") // will center (horizontally the element for you
  .background("#292929") // will set the background color to #292929
  .hover(b => b.text.underline(true)) // on hover, the text will appear underlined
  .appendCSS(`
    border-radius: 5px;
  `) // if you want to add native CSS to the element, you can
  
C.save("path/to/file.css")
```

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