# dbservestyl

> Serve .styl files as .css

Latest version **0.0.5** (published 2016-04-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install dbservestyl
pnpm add dbservestyl
yarn add dbservestyl
bun add dbservestyl
```

## 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.5 |
| Published | 2016-04-01 |
| First published | 2016-03-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Dave B Dixon II |
| Maintainers | dbdii407 |
| Keywords | stylus, styl, css, static, serve |

## Links

- npm: https://www.npmjs.com/package/dbservestyl
- Repository: https://github.com/dbdii407/dbservestyl
- Homepage: https://github.com/dbdii407/dbservestyl#readme
- Issues: https://github.com/dbdii407/dbservestyl/issues
- npm.io page: https://npm.io/package/dbservestyl

## Dependencies (1)

- [stylus](https://npm.io/package/stylus.md) *

## 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.5 (latest) — 2016-04-01
- 0.0.4 — 2016-04-01
- 0.0.3 — 2016-03-30
- 0.0.2 — 2016-03-30
- 0.0.1 — 2016-03-30

## README

# dbservestyl - Serve .styl files as .css

######Example:
```javascript
"use strict";

const dbservestyl = require('dbservestyl');
const express = require('express');
const path = require('path');

let app = new express();

app.use('/css', function(req, res, next) {
  let index = path.join(__dirname, "/www/css");
  let fn = dbservestyl(index);

  fn(req, res, next);
});

app.use('/', function(req, res, next) {
  let index = path.join(__dirname, "/www");
  let fn = express.static(index);

  fn(req, res, next);
});

app.listen(8080);
```

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