meta-horizonn 1.1.3 → 1.1.5

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/test/testv2.js CHANGED
@@ -1,18 +1,22 @@
1
1
 
2
- // Node.js program to demonstrate the
3
- // Process 'message' Event
2
+ // // Node.js program to demonstrate the
3
+ // // Process 'message' Event
4
4
 
5
- // Importing process module
6
- const cp = require('child_process');
5
+ // // Importing process module
6
+ // const cp = require('child_process');
7
7
 
8
- // Initiating child process
9
- const process = cp.fork(`${__dirname}/testv2.js`);
8
+ // // Initiating child process
9
+ // const process = cp.fork(`${__dirname}/testv2.js`);
10
10
 
11
- // Message Event
12
- process.on('message', (m) => {
13
- console.log('PARENT got message:', m);
14
- });
11
+ // // Message Event
12
+ // process.on('message', (m) => {
13
+ // console.log('PARENT got message:', m);
14
+ // });
15
15
 
16
- // Causes the child to print:
17
- // CHILD got message: { hello: 'world' }
18
- process.send({ hello: 'world' });
16
+ // // Causes the child to print:
17
+ // // CHILD got message: { hello: 'world' }
18
+ // process.send({ hello: 'world' });
19
+
20
+ const crypto = require('crypto');
21
+ const RandPass = Array.from({ length: 101 }, (_,i) => crypto.randomBytes(5).toString('hex'));
22
+ console.log(RandPass);