Skip to content
This repository was archived by the owner on Jan 28, 2020. It is now read-only.

Commit c02118b

Browse files
committed
Update README.md and package.json.
1 parent af20d4b commit c02118b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ Install with [npm](https://npmjs.org/package/css-rules)
1010
npm install --save css-rules
1111
```
1212

13+
## Usage
14+
15+
```js
16+
var parseCSS = require('css-rules');
17+
18+
var rules = parseCSS(css);
19+
```
20+
21+
## Credit
22+
23+
The code for this module was originally taken from the [Juice](https://github.com/Automattic/juice) library.
24+
1325
## License
1426

1527
MIT

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Returns a parse tree for a CSS source.",
55
"main": "index.js",
66
"scripts": {
7-
"test": "'echo \"Error: no test specified\" && exit 1'"
7+
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"repository": {
1010
"type": "git",

0 commit comments

Comments
 (0)