Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
cloudflared
Advanced tools
Install Cloudflared in Node.
This tool will automatically install the latest version of
cloudflared
at the first time. Then, it just passes down the command tocloudflared
.
pnpm i -g cloudflared
npm i -g cloudflared
yarn global add cloudflared
You can find the usage of cloudflared
here: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-useful-commands/
Or just try:
cloudflared --help
There is an extra command: cloudflared remove-bin
, which will remove the cloudflared
binary that is installed by this package.
import { bin, install } from "cloudflared";
import fs from "node:fs";
import { spawn } from "node:child_process";
if (!fs.existsSync(bin)) {
// install cloudflared binary
await install(bin);
}
// run cloudflared
spawn(bin, ["--version"], { stdio: "inherit" });
bin
: The path of the binary.
install
: A function that installs the binary to the given path.
FAQs
Cloudflared in Node. Which allows you to easily create HTTPS tunnels using Cloudflare's cloudflared. It provides a typed API for creating tunnels and managing the cloudflared binary installation.
The npm package cloudflared receives a total of 9,056 weekly downloads. As such, cloudflared popularity was classified as popular.
We found that cloudflared demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.