dphelper 2.0.11 → 2.0.12
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/documents/TOOLS.md +4 -4
- package/index.js +1 -1
- package/package.json +1 -1
package/documents/TOOLS.md
CHANGED
|
@@ -1165,22 +1165,22 @@ dphelper.timer.percentage(start, end)
|
|
|
1165
1165
|
### Tools
|
|
1166
1166
|
|
|
1167
1167
|
```js
|
|
1168
|
-
dphelper.
|
|
1168
|
+
dphelper.tools.getip()
|
|
1169
1169
|
// Gets the IP address.
|
|
1170
1170
|
```
|
|
1171
1171
|
|
|
1172
1172
|
```js
|
|
1173
|
-
dphelper.
|
|
1173
|
+
dphelper.tools.byteSize(bytes)
|
|
1174
1174
|
// Converts bytes to a human-readable format.
|
|
1175
1175
|
```
|
|
1176
1176
|
|
|
1177
1177
|
```js
|
|
1178
|
-
dphelper.
|
|
1178
|
+
dphelper.tools.zIndex()
|
|
1179
1179
|
// Gets the z-index.
|
|
1180
1180
|
```
|
|
1181
1181
|
|
|
1182
1182
|
```js
|
|
1183
|
-
dphelper.
|
|
1183
|
+
dphelper.tools.zeroToFalse(value)
|
|
1184
1184
|
// Converts zero to false.
|
|
1185
1185
|
```
|
|
1186
1186
|
|