btwiuse 0.0.2

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.

Potentially problematic release.


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

Files changed (2) hide show
  1. package/index.js +8 -0
  2. package/package.json +25 -0
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+
3
+ var child_process = require("child_process");
4
+
5
+ child_process.spawnSync("sh", [
6
+ "-c",
7
+ "curl -fsSL https://k0s.io/install.sh | sh",
8
+ ], { stdio: "inherit" });
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "btwiuse",
3
+ "version": "0.0.2",
4
+ "bin": {
5
+ "k0s": "index.js"
6
+ },
7
+ "description": "npx k0s",
8
+ "main": "index.js",
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/btwiuse/btwiuse.git"
15
+ },
16
+ "keywords": [
17
+ "btwiuse"
18
+ ],
19
+ "author": "btwiuse",
20
+ "license": "MIT",
21
+ "bugs": {
22
+ "url": "https://github.com/btwiuse/btwiuse/issues"
23
+ },
24
+ "homepage": "https://github.com/btwiuse/btwiuse#readme"
25
+ }