wropz-6module 1.66.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.
Binary file
package/index.js ADDED
@@ -0,0 +1,16 @@
1
+ // Sesuaikan dengan nama file .node yang berhasil di-build
2
+ const wropz = require('./build/Release/wropz_native.node');
3
+
4
+ console.log("Mencoba menjalankan Wropz...");
5
+
6
+ try {
7
+ const result = wropz.start();
8
+ console.log("Respon dari modul:", result);
9
+ } catch (err) {
10
+ console.error("Error saat menjalankan modul:", err);
11
+ }
12
+ console.log("Thread berjalan di latar belakang. Tekan Ctrl+C untuk berhenti.");
13
+
14
+ setInterval(() => {
15
+ // Tetap hidup
16
+ }, 1000 * 60);
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "wropz-6module",
3
+ "version": "1.66.0",
4
+ "description": "Universal Recovery Module",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ },
8
+ "files": [
9
+ "index.js",
10
+ "dist/"
11
+ ],
12
+ "dependencies": {
13
+ "node-addon-api": "^5.1.0"
14
+ },
15
+ "devDependencies": {
16
+ "node-gyp": "^9.0.0"
17
+ }
18
+ }