# cssdeps

> Take some CSS, figure out what files it depends on.

Latest version **1.0.0** (published 2014-04-02) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2014-04-02 |
| First published | 2014-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | ForbesLindesay |
| Maintainers | forbeslindesay |

## Links

- npm: https://www.npmjs.com/package/cssdeps
- Repository: https://github.com/ForbesLindesay/cssdeps
- Issues: https://github.com/ForbesLindesay/cssdeps/issues
- npm.io page: https://npm.io/package/cssdeps

## Dependencies (1)

- [css-parse](https://npm.io/package/css-parse.md) ~1.7.0

## Recent versions

- 1.0.0 (latest) — 2014-04-02
- 0.0.0 — 2014-04-02

## README

# cssdeps

Take some CSS, figure out what files it depends on.

[![Build Status](https://travis-ci.org/ForbesLindesay/cssdeps.png?branch=master)](https://travis-ci.org/ForbesLindesay/cssdeps)
[![Dependency Status](https://gemnasium.com/ForbesLindesay/cssdeps.png)](https://gemnasium.com/ForbesLindesay/cssdeps)
[![NPM version](https://badge.fury.io/js/cssdeps.png)](http://badge.fury.io/js/cssdeps)

## Installation

    npm install cssdeps

## Usage

```js
'use strict';

var fs = require('fs');
var assert = require('assert');
var cssdeps = require('cssdeps');

var fixture = fs.readFileSync(__dirname + '/fixture.css', 'utf8');

assert.deepEqual(cssdeps(fixture), [
  '/foo.css',
  '../bar.css',
  '../baz.css',
  'crazy.css',
  '../bing.css',
  '../photo.png',
  '../photoB.png'
]);
```

## License

  MIT

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