# genes.css

> A javascript tool for generating functional css.

Latest version **0.0.0** (published 2019-01-10) · MIT license · 0 weekly downloads

## Install

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

Provides the command `genes`.

## 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.0 |
| Published | 2019-01-10 |
| First published | 2019-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 63.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Paula Griguță |
| Maintainers | paulala |

## Links

- npm: https://www.npmjs.com/package/genes.css
- Repository: https://github.com/genescss/genes.css
- Homepage: https://genescss.github.io
- Issues: https://github.com/genescss/genes.css/issues
- npm.io page: https://npm.io/package/genes.css

## Dependencies (3)

- [css.of](https://npm.io/package/css.of.md) ^1.0.0
- [commander](https://npm.io/package/commander.md) ^2.19.0
- [css.escape](https://npm.io/package/css.escape.md) ^1.5.1

## Recent versions

- 0.0.0 (latest) — 2019-01-10

## README

![genes.css](genes.png "genes.css")

*A javascript tool for generating functional css.*

[genescss.github.io](https://genescss.github.io)

### *Installation*

`npm install genes.css --save-dev`

### *Usage*

```javascript
const genes = require('genes.css');

genes.css(source, output, config);
```

### *Documentation*
*Full documentation coming soon.*

Meanwhile, here are some basic examples...

```html
<section class="d:b">
  Section displayed as a block.
</section>
```
```css
section {
  display: block;
}
```
```html
<section class="a.d:b">
  Section displayed as a block while active.
</section>
```
```css
section:active {
  display: block;
}
```
```html
<section class="d:b@sm">
  Section displayed as a block from small screens up.
</section>
```
```css
@media (min-width: 30em) {
  section {
    display: block;
  }
}
```

### *License*
*MIT &copy; 2019 Paula Griguță <paula.la@live.com>*

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