css-url-regex
Regular expression for matching CSS urls.
Last updated 5 years ago by johno .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install css-url-regex 
SYNC missed versions from official npm registry.

css-url-regex

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

Installation

npm i --save css-url-regex

Usage

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.

Current Tags

  • 4.0.0                                ...           latest (5 years ago)

7 Versions

  • 4.0.0                                ...           5 years ago
  • 3.5.0                                ...           5 years ago
  • 3.3.1                                ...           7 years ago
  • 3.3.0                                ...           7 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.0                                ...           10 years ago
  • 0.0.1                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |