stardust-parallel-js 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +13 -3
  2. package/package.json +6 -2
package/README.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # parallel.js
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/stardust-parallel-js.svg)](https://www.npmjs.com/package/stardust-parallel-js)
4
+ [![npm downloads](https://img.shields.io/npm/dm/stardust-parallel-js.svg)](https://www.npmjs.com/package/stardust-parallel-js)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6
+ [![Coverage](https://img.shields.io/badge/coverage-77%25-yellowgreen.svg)](https://github.com/b1411/parallel.js)
7
+ [![Node.js Version](https://img.shields.io/node/v/stardust-parallel-js.svg)](https://nodejs.org)
8
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.9-blue.svg)](https://www.typescriptlang.org/)
9
+ [![Bundle Size](https://img.shields.io/bundlephobia/min/stardust-parallel-js)](https://bundlephobia.com/package/stardust-parallel-js)
10
+ [![GitHub stars](https://img.shields.io/github/stars/b1411/parallel.js.svg?style=social)](https://github.com/b1411/parallel.js)
11
+
3
12
  Библиотека для параллельного выполнения JavaScript/TypeScript функций с использованием Worker Threads в Node.js.
4
13
 
5
14
  ## Возможности
@@ -14,10 +23,11 @@
14
23
  ## Установка
15
24
 
16
25
  ```bash
17
- npm install parallel.js
26
+ npm install stardust-parallel-js
18
27
  # или
19
- pnpm install parallel.js
28
+ pnpm install stardust-parallel-js
20
29
  # или
30
+ yarn add stardust-parallel-js
21
31
  yarn add parallel.js
22
32
  ```
23
33
 
@@ -212,7 +222,7 @@ await pool.terminate();
212
222
 
213
223
  ## Лицензия
214
224
 
215
- ISC
225
+ MIT
216
226
 
217
227
  ## Разработка
218
228
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stardust-parallel-js",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Simple parallel execution library for Node.js using Worker Threads. Execute CPU-intensive tasks with thread pools and isolated workers. Supports both regular and arrow functions.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,9 +12,13 @@
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/b1411/parallel.js.git"
14
14
  },
15
+ "engines": {
16
+ "node": ">=14.0.0"
17
+ },
15
18
  "type": "module",
16
19
  "scripts": {
17
20
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
21
+ "test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
18
22
  "build": "tsc -p ."
19
23
  },
20
24
  "keywords": [
@@ -48,4 +52,4 @@
48
52
  "dependencies": {
49
53
  "@datastructures-js/queue": "^4.3.0"
50
54
  }
51
- }
55
+ }