We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c70a84e commit 0fdcb27Copy full SHA for 0fdcb27
README.md
@@ -0,0 +1,19 @@
1
+## Introduction
2
+Parse urls from css file
3
+
4
+[](https://travis-ci.org/s0ph1e/node-css-url-parser)
5
+[](https://coveralls.io/r/s0ph1e/node-css-url-parser)
6
7
+## Installation
8
+`npm install css-url-parser`
9
10
+## Usage
11
+```javascript
12
+var parseCssUrls = require('css-url-parser');
13
14
+var css = '@import "a.css"; .image { background-image: url(images/img.png); }';
15
+var cssUrls = parseCssUrls(css);
16
17
+console.log(cssUrls); // [ 'a.css', 'images/img.png' ]
18
+```
19
0 commit comments