unprint 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -161,6 +161,14 @@ Returns the duration in seconds as a number.
|
|
|
161
161
|
|
|
162
162
|
Returns the parsed JSON content of an element as an object.
|
|
163
163
|
|
|
164
|
+
#### Query style
|
|
165
|
+
`query.style([selector], [options])`
|
|
166
|
+
|
|
167
|
+
Options
|
|
168
|
+
* `styleAttribute`: the CSS style attribute to extract, returns an object with all properties by default.
|
|
169
|
+
|
|
170
|
+
Returns the CSS style attributes of an element as an object.
|
|
171
|
+
|
|
164
172
|
### HTTP request
|
|
165
173
|
* `unprint.get(url, [options])`
|
|
166
174
|
* `unprint.post(url, body, [options])`
|