@uxf/core 11.53.2 → 11.54.0
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
CHANGED
|
@@ -188,6 +188,17 @@ const submitHandler: FormEventHandler<HTMLFormElement> = () => {
|
|
|
188
188
|
};
|
|
189
189
|
```
|
|
190
190
|
|
|
191
|
+
### escapeQuotes
|
|
192
|
+
|
|
193
|
+
Escapes all double quotes (`"`) in a string by replacing them with `\"`.
|
|
194
|
+
|
|
195
|
+
```ts
|
|
196
|
+
import { escapeQuotes } from "@uxf/core/utils/escape-quotes";
|
|
197
|
+
|
|
198
|
+
escapeQuotes('The "quick" fox');
|
|
199
|
+
// Output: The \"quick\" fox
|
|
200
|
+
```
|
|
201
|
+
|
|
191
202
|
### formatBytes
|
|
192
203
|
|
|
193
204
|
Appends suitable unit to the byte value of data size.
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function escapeQuotes(value: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|