{"_id":"@background404/node-red-contrib-wsl-ubuntu","_rev":"2-96e6c7dc15679cedcc6b6f293b6cb678","name":"@background404/node-red-contrib-wsl-ubuntu","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.2":{"name":"@background404/node-red-contrib-wsl-ubuntu","version":"0.0.2","keywords":["node-red","wsl","ubuntu"],"author":{"name":"background404"},"license":"MIT","_id":"@background404/node-red-contrib-wsl-ubuntu@0.0.2","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"homepage":"https://github.com/404background/node-red-contrib-wsl-ubuntu#readme","bugs":{"url":"https://github.com/404background/node-red-contrib-wsl-ubuntu/issues"},"dist":{"shasum":"0acf54f65fae4f813b1fa032bcd410de83621723","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-wsl-ubuntu/-/node-red-contrib-wsl-ubuntu-0.0.2.tgz","fileCount":14,"integrity":"sha512-O7bxzwsSCtql6Re6YgH29/S6JL7YGoN65nvDlhofyI8HwL9jAFQAsvFGaMexvVl3+RgT8Vb2zZO8ARHuKh2bRQ==","signatures":[{"sig":"MEUCIQCt1YwQN/OwmfrYGoLB4/xSk5p4jW0tWiNvDZDr25KCWwIgft+DTtgOEguN0rlQ/amj8fUB+w1rmIM94nDKw/Fg8Is=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":165326},"main":"node/wsl.js","engines":{"node":">=14.0.0"},"gitHead":"6af8ebb84ff0c3a22646acd7fe545ab8d9676cb3","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"background404","email":"404background@gmail.com"},"node-red":{"nodes":{"wsl-ubuntu":"node/wsl-ubuntu.js"},"version":">=1.3.7"},"repository":{"url":"git+https://github.com/404background/node-red-contrib-wsl-ubuntu.git","type":"git"},"_npmVersion":"10.9.0","description":"Node for using Ubuntu environment in WSL with Node-RED","directories":{},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-contrib-wsl-ubuntu_0.0.2_1739029091248_0.2763257147907592","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@background404/node-red-contrib-wsl-ubuntu","version":"0.0.3","description":"Node for using Ubuntu environment in WSL with Node-RED","main":"node/wsl.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=14.0.0"},"node-red":{"version":">=1.3.7","nodes":{"wsl-ubuntu":"node/wsl-ubuntu.js"}},"repository":{"type":"git","url":"git+https://github.com/404background/node-red-contrib-wsl-ubuntu.git"},"keywords":["node-red","wsl","ubuntu"],"author":{"name":"background404"},"license":"MIT","bugs":{"url":"https://github.com/404background/node-red-contrib-wsl-ubuntu/issues"},"homepage":"https://github.com/404background/node-red-contrib-wsl-ubuntu#readme","_id":"@background404/node-red-contrib-wsl-ubuntu@0.0.3","gitHead":"461564b930392e253fbdd6a0d3bd00a27569689e","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-1pEHgFIYspguxYCvvSPnEEwJ4sX6g5EmPO8WYGAqh/akOUshQ4L0VeduUY4pBQRVrlewwSBsKW9hMTsboQ30AQ==","shasum":"78f9d9a30f715f67843f9151a144c8c3837a5748","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-wsl-ubuntu/-/node-red-contrib-wsl-ubuntu-0.0.3.tgz","fileCount":14,"unpackedSize":180378,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF/MZOuSc/XwaNuVcXHw58tns6uY5w2D8t1yfgQYmv8+AiEA6v56j/hl9CJAjCQExJ177vHGf/h6/HLWnmYy6dntgVA="}]},"_npmUser":{"name":"background404","email":"404background@gmail.com"},"directories":{},"maintainers":[{"name":"background404","email":"404background@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-red-contrib-wsl-ubuntu_0.0.3_1745906052448_0.08012553755126262"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-08T15:38:11.126Z","modified":"2025-04-29T05:54:12.874Z","0.0.2":"2025-02-08T15:38:11.520Z","0.0.3":"2025-04-29T05:54:12.669Z"},"bugs":{"url":"https://github.com/404background/node-red-contrib-wsl-ubuntu/issues"},"author":{"name":"background404"},"license":"MIT","homepage":"https://github.com/404background/node-red-contrib-wsl-ubuntu#readme","keywords":["node-red","wsl","ubuntu"],"repository":{"type":"git","url":"git+https://github.com/404background/node-red-contrib-wsl-ubuntu.git"},"description":"Node for using Ubuntu environment in WSL with Node-RED","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"readme":"# node-red-contrib-wsl-ubuntu\r\nNode for using Ubuntu environment in WSL with Node-RED\r\n\r\n## Overview\r\n\r\nThis node can execute commands in the WSL Ubuntu environment.\r\n\r\n![flows.png](./image/flows.png)\r\n\r\nTherefore, **this node works only on Windows**.  \r\nPlease install the distribution using the wsl command in advance.  \r\n\r\nThe node can be set to the following options.  \r\n- Ubuntu version\r\n- Set the password when executing sudo (credential property)\r\n- Whether the execution results are output sequentially or not\r\n\r\n![edit.png](./image/edit.png)\r\n\r\n## Continuous Mode\r\n\r\nWhen \"Continuous\" mode is enabled, command output is sent continuously as it becomes available. This is especially useful for long-running processes like `roscore` or other server applications.\r\n\r\nIn this mode:\r\n- Output is streamed in real-time \r\n- A stop button appears in the node allowing you to terminate the process\r\n- You can also terminate the process by sending a message with `msg.kill=true`\r\n\r\nWhen \"Continuous\" mode is disabled, command output is sent as a single message after the command completes execution.\r\n\r\n## Usage Examples\r\n\r\nDifferent versions are shown for different Ubuntu environments.\r\n\r\n![os.png](./image/os.png)\r\n\r\n![os-output.png](./image/os-output.png)\r\n\r\nYou can also use apt-get to install and remove packages.  \r\nFor example, you can output the result of neofetch to System Console.  \r\n\r\n![neofetch.png](./image/neofetch.png)\r\n\r\n![neofetch-output.png](./image/neofetch-output.png)\r\n","readmeFilename":"README.md"}