242417d45d | ||
---|---|---|
.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
readme.md
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by John Otander.