# @kushnarang/css

> Simple CSS addition from JavaScript.

Latest version **1.0.1** (published 2019-02-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @kushnarang/css
pnpm add @kushnarang/css
yarn add @kushnarang/css
bun add @kushnarang/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 | 1.0.1 |
| Published | 2019-02-23 |
| First published | 2019-02-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Kush Narang |
| Maintainers | kushnarang |
| Keywords | css, styling, stylesheet |

## Links

- npm: https://www.npmjs.com/package/@kushnarang/css
- Repository: https://github.com/kushnarang/css
- Homepage: https://github.com/kushnarang/css#readme
- Issues: https://github.com/kushnarang/css/issues
- npm.io page: https://npm.io/package/@kushnarang/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

- 1.0.1 (latest) — 2019-02-23
- 1.0.0 — 2019-02-19

## README

# css
Simple CSS addition from JavaScript.

### Importing

1. Download the css.min.js and host it yourself (preferred)
2. Use a public CDN such as jsdelivr ``` https://cdn.jsdelivr.net/npm/@kushnarang/css@1.0.0/dist/css.min.js ``` (not preferred)


### Usage
The one and only parameter is the CSS you want to add (in the form of a **string**). 

```

css("body { background: purple }");

// or

css("#header { color: red }");

// or

// whatever CSS you want

```

### Compatablity

|||
|--|--|
|Internet Explorer|9+|
|Chrome|4+|
|Firefox|3+|
|Safari|4+|

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