# css-url-regex

> Regular expression for matching CSS urls.

Latest version **4.0.0** (published 2020-12-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install css-url-regex
pnpm add css-url-regex
yarn add css-url-regex
bun add css-url-regex
```

## 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 | 4.0.0 |
| Published | 2020-12-08 |
| First published | 2014-12-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | johno |
| Keywords | css, css-url, regex, regexp |

## Links

- npm: https://www.npmjs.com/package/css-url-regex
- Repository: https://github.com/cssstats/cssstats
- Homepage: https://github.com/cssstats/cssstats#readme
- Issues: https://github.com/cssstats/cssstats/issues
- npm.io page: https://npm.io/package/css-url-regex

## 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

- 4.0.0 (latest) — 2020-12-08
- 3.5.0 — 2020-11-03
- 3.3.1 — 2019-07-26
- 3.3.0 — 2019-03-23
- 1.1.0 — 2017-04-05
- 1.0.0 — 2015-10-16
- 0.0.1 — 2014-12-02

## README

# css-url-regex

A regular expression for matching CSS urls, `url(foo.css)`.

## Installation

```
npm i --save css-url-regex
```

## Usage

```javascript
var cssUrl = require('css-url-regex')

cssUrl().test('url(bar.css)') // => true
cssUrl().test('kljhsdf') // => false
```

## License

MIT

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Crafted with <3 by [John Otander](http://johnotander.com).

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