@vbarbarosh/node-helpers 3.62.0 → 3.63.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 +26 -4
- package/dist/browser.js +1594 -0
- package/dist/index.html +19 -0
- package/package.json +13 -3
- package/src/array_unique.js +13 -0
- package/src/browser/index.js +7 -0
- package/src/format_error_report.d/src/1.js +26 -0
- package/src/format_error_report.d/src/2.js +29 -0
- package/src/format_error_report.js +65 -0
- package/src/json_stringify_safe.js +3 -0
- package/src/sanitize_var_name.test.js +7 -0
package/README.md
CHANGED
|
@@ -1,16 +1,38 @@
|
|
|
1
1
|
A set of helpers for JavaScript/Node.js
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
<p align="center">
|
|
5
|
+
<a href="https://github.com/vbarbarosh/node-helpers/actions"><img src="https://github.com/vbarbarosh/node-helpers/actions/workflows/node.js.yml/badge.svg" alt="@vbarbarosh/node-helpers CI status" /></a>
|
|
6
|
+
<a href="https://opensource.org/licenses/MIT" rel="nofollow"><img src="https://img.shields.io/github/license/vbarbarosh/node-helpers" alt="License" /></a>
|
|
7
|
+
<a href="https://www.npmjs.com/package/@vbarbarosh/node-helpers" rel="nofollow"><img src="https://img.shields.io/npm/dw/@vbarbarosh/node-helpers.svg" alt="npm" /></a>
|
|
8
|
+
<a href="https://github.com/vbarbarosh/node-helpers" rel="nofollow"><img src="https://img.shields.io/github/stars/vbarbarosh/node-helpers" alt="stars" /></a>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<img src="img/node-helpers-by-chat-gpt.webp" style="max-height:400px;" />
|
|
13
|
+
</p>
|
|
4
14
|
|
|
5
15
|
## Installation
|
|
6
16
|
|
|
7
|
-
|
|
17
|
+
```sh
|
|
18
|
+
npm install @vbarbarosh/node-helpers
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
A subset of `@vbarbarosh/node-helpers` is available for browser:
|
|
22
|
+
|
|
23
|
+
```html
|
|
24
|
+
<script src="https://unpkg.com/@vbarbarosh/node-helpers@latest/dist/browser.js"></script>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
⚠️ All supported functions are exposed globally.
|
|
8
28
|
|
|
9
29
|
## Test
|
|
10
30
|
|
|
11
|
-
|
|
31
|
+
```sh
|
|
32
|
+
bin/test
|
|
33
|
+
```
|
|
12
34
|
|
|
13
|
-
## Conventions
|
|
35
|
+
## 📖 Conventions
|
|
14
36
|
|
|
15
37
|
`concurrency` - limit for parallel processes.
|
|
16
38
|
|