
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@durable-streams/cli
Advanced tools
A command-line tool for interacting with durable streams.
# Global installation
npm install -g @durable-streams/cli
# Or run directly with npx
npx @durable-streams/cli create my-stream
npx @durable-streams/cli read my-stream
# Clone the repository
git clone https://github.com/durable-streams/durable-streams.git
cd durable-streams
# Install dependencies
pnpm install
# Build the CLI
pnpm build
# Link globally for development (uses tsx, no rebuild needed)
cd packages/cli
pnpm link:dev
# Now you can use durable-stream-dev anywhere
durable-stream-dev create my-stream
The easiest way to get started is to run the local development server and use the CLI:
pnpm start:dev
This will start a Durable Streams server at http://localhost:4437 with live reloading.
# Set the server URL (optional, defaults to http://localhost:4437)
export STREAM_URL=http://localhost:4437
# Create a stream
durable-stream-dev create my-stream
# Write to the stream
durable-stream-dev write my-stream "Hello, world!"
# Read from the stream (follows live)
durable-stream-dev read my-stream
STREAM_URL - Base URL of the stream server (default: http://localhost:4437)durable-stream-dev create <stream_id>
# Write content as arguments
durable-stream-dev write <stream_id> "Hello, world!"
# Pipe content from stdin
echo "Hello from stdin" | durable-stream-dev write <stream_id>
cat file.txt | durable-stream-dev write <stream_id>
# Follows the stream and outputs new data to stdout
durable-stream-dev read <stream_id>
durable-stream-dev delete <stream_id>
# Terminal 1: Start the local development server
pnpm start:dev
# Terminal 2: Set up the stream
export STREAM_URL=http://localhost:4437
durable-stream-dev create test-stream
# Terminal 3: Start reading (will show data as it arrives)
export STREAM_URL=http://localhost:4437
durable-stream-dev read test-stream
# Back in Terminal 2: Write data and watch it appear in Terminal 3
durable-stream-dev write test-stream "First message"
durable-stream-dev write test-stream "Second message"
echo "Piped content!" | durable-stream-dev write test-stream
# Start the example server with live reloading
pnpm start:dev
# Watch mode for CLI development (rebuilds dist/)
pnpm dev
# Build
pnpm build
# Link globally for development (uses tsx, no rebuild needed)
pnpm link:dev
FAQs
CLI tool for working with Durable Streams
We found that @durable-streams/cli 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.