
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A persistent CSharpier formatting daemon with automatic server management and idle timeout
A persistent CSharpier formatting daemon with automatic server management and idle timeout.
# Bun
bun install -g csharpierd
# npm
npm install -g csharpierd
# Yarn
yarn global add csharpierd
# pnpm
pnpm install -g csharpierd
bun install
csharpierd <filename> < input.cs # Format C# code from stdin
csharpierd --status # Show server status
csharpierd --stop # Stop the background server
csharpierd --help # Show help message
After global installation:
# Format a C# file
csharpierd Program.cs < Program.cs
# Or using cat
cat MyFile.cs | csharpierd MyFile.cs
# Output formatted code to a new file
csharpierd MyFile.cs < MyFile.cs > MyFile.formatted.cs
# Check server status
csharpierd --status
# Stop the background server
csharpierd --stop
# Show help
csharpierd --help
# Format a file
bun index.ts Program.cs < Program.cs
# Check server status
bun index.ts --status
# Stop the server
bun index.ts --stop
# Show help
bun index.ts --help
The --status flag shows detailed information about the server including:
csharpierd --status
The server will automatically shut down after 1 hour of inactivity, but you can manually stop it:
csharpierd --stop
You can compile the TypeScript code to a standalone binary:
bun run build
This creates a csharpierd binary in the current directory that can be distributed without requiring Bun to be installed. The binary is self-contained and includes all dependencies.
# Run the compiled binary
./csharpierd Program.cs < Program.cs
conform.nvim is a popular formatter plugin for Neovim. Here's how to configure it to use csharpierd:
require("conform").setup({
formatters_by_ft = {
cs = { "csharpierd" },
},
formatters = {
csharpierd = {
command = "csharpierd",
args = { "$RELATIVE_FILEPATH" },
stdin = true,
},
},
})
dotnet csharpier server --server-port 78912 in the background/tmp/csharpierd-state.json/tmp/csharpierd-state.json/tmp/csharpierd.lockTo publish this package to npm:
bun publish
MIT
FAQs
A persistent CSharpier formatting daemon with automatic server management and idle timeout
We found that csharpierd demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.