Skip to content

Commit bb03380

Browse files
committed
Refactor prose
1 parent 2c5fb41 commit bb03380

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

readme.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,19 @@
55
[![Downloads][downloads-badge]][downloads]
66
[![Size][size-badge]][size]
77

8-
Parse and stringify CSS declarations (such as the HTML `style`
9-
attribute).
8+
Parse and stringify CSS declarations (such as the HTML `style` attribute).
109

11-
## Installation
10+
## Install
1211

1312
[npm][]:
1413

15-
```bash
14+
```sh
1615
npm install css-declarations
1716
```
1817

19-
## Usage
18+
## Use
2019

21-
```javascript
20+
```js
2221
var cssDeclarations = require('css-declarations')
2322

2423
var values = cssDeclarations.parse(`
@@ -48,15 +47,16 @@ Parse CSS declarations from `string` to `object`.
4847

4948
### `cssDeclarations.stringify(values)`
5049

51-
Compile CSS declarations from `object` to `string`.
50+
Serialize CSS declarations from `object` to `string`.
5251

5352
###### Returns
5453

55-
`string`Stringified declarations.
54+
`string`Serialized declarations.
5655

5756
### `function warning(reason, offset)`
5857

59-
Invoked when an error occurs. Errors come from [`reworkcss/css`][css].
58+
Invoked when an error occurs.
59+
Errors come from [`reworkcss/css`][css].
6060

6161
###### Parameters
6262

0 commit comments

Comments
 (0)