# simple-css-loader

> Lightweight css loader for webpack

Latest version **0.1.1** (published 2016-07-31) · 0 weekly downloads

## Install

```sh
npm install simple-css-loader
pnpm add simple-css-loader
yarn add simple-css-loader
bun add simple-css-loader
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2016-07-31 |
| First published | 2016-04-03 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Dorian Marchal |
| Maintainers | dorian-marchal |

## Links

- npm: https://www.npmjs.com/package/simple-css-loader
- Repository: https://github.com/dorian-marchal/simple-css-loader
- Homepage: https://github.com/dorian-marchal/simple-css-loader#readme
- Issues: https://github.com/dorian-marchal/simple-css-loader/issues
- npm.io page: https://npm.io/package/simple-css-loader

## Recent versions

- 0.1.1 (latest) — 2016-07-31
- 0.1.0 — 2016-04-03

## README

# Lightweight CSS loader for webpack

Inject a CSS file in the DOM.
Useful for loading a simple CSS file without embedding both `css-loader` and `style-loader` in your script.

## Installation

`npm install --save-dev simple-css-loader`

## Usage

With this `style.css` :
```css
a {
    color: red;
}
a:hover {
    color: blue;
}
```
,

```js
require('simple-css!./style.css');
```

will append this Dom node to `<head>` :

```html
<style type="text/css" >
a {
    color: red;
}
a:hover {
    color: blue;
}
</style>
```

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