@rzl-zone/utils-js 3.1.2-beta.0 → 3.1.3-beta.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 +20 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,15 +113,26 @@ This package also provides utilities specially built for Next.js environments, n
|
|
|
113
113
|
#### For now, explore the examples or dive into the source — all utilities are documented via **JSDoc** and typed properly.
|
|
114
114
|
|
|
115
115
|
```ts
|
|
116
|
-
import { | } from "@rzl-zone/utils-js/
|
|
117
|
-
import { | } from "@rzl-zone/utils-js
|
|
118
|
-
import { | } from "@rzl-zone/utils-js
|
|
119
|
-
import { | } from "@rzl-zone/utils-js
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
116
|
+
import { | } from "@rzl-zone/utils-js/assertions";
|
|
117
|
+
import { | } from "@rzl-zone/utils-js/conversions";
|
|
118
|
+
import { | } from "@rzl-zone/utils-js/env";
|
|
119
|
+
import { | } from "@rzl-zone/utils-js/events";
|
|
120
|
+
import { | } from "@rzl-zone/utils-js/formatting";
|
|
121
|
+
import { | } from "@rzl-zone/utils-js/generator";
|
|
122
|
+
import { | } from "@rzl-zone/utils-js/generator";
|
|
123
|
+
import { | } from "@rzl-zone/utils-js/next";
|
|
124
|
+
import { | } from "@rzl-zone/utils-js/next/server";
|
|
125
|
+
import { | } from "@rzl-zone/utils-js/operations";
|
|
126
|
+
import { | } from "@rzl-zone/utils-js/parsers";
|
|
127
|
+
import { | } from "@rzl-zone/utils-js/predicates";
|
|
128
|
+
import { | } from "@rzl-zone/utils-js/promise";
|
|
129
|
+
import { | } from "@rzl-zone/utils-js/strings";
|
|
130
|
+
import { | } from "@rzl-zone/utils-js/stylings";
|
|
131
|
+
import { | } from "@rzl-zone/utils-js/urls";
|
|
132
|
+
|
|
133
|
+
import type { | } from "@rzl-zone/utils-js/types";
|
|
124
134
|
```
|
|
135
|
+
#### Just place your cursor right inside `{ }` or from after import from `"@rzl-zone/utils-js/"` like the pipe ("|") above then ctrl + space, there are many functions or types and then hover to each function is complete with how to use it because I have added jsDoc.
|
|
125
136
|
|
|
126
137
|
<!-- - <h4 id="detailed-features--assertions">
|
|
127
138
|
Assertions -
|
|
@@ -153,7 +164,7 @@ This package also provides utilities specially built for Next.js environments, n
|
|
|
153
164
|
##### Example Function Import:
|
|
154
165
|
|
|
155
166
|
```ts
|
|
156
|
-
import { isServer } from "@rzl-zone/utils-js";
|
|
167
|
+
import { isServer } from "@rzl-zone/utils-js/env";
|
|
157
168
|
|
|
158
169
|
console.log(isServer());
|
|
159
170
|
// true if running on Node.js, false if browser
|