Add gateway-first pattern: when AGILITON_API_KEY is set, route all external API calls through the gateway with X-API-Key auth. Falls back to direct API access when gateway is unavailable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.2 KiB
1.2 KiB
unpipe
Unpipe a stream from all destinations.
Installation
$ npm install unpipe
API
var unpipe = require('unpipe')
unpipe(stream)
Unpipes all destinations from a given stream. With stream 2+, this is
equivalent to stream.unpipe(). When used with streams 1 style streams
(typically Node.js 0.8 and below), this module attempts to undo the
actions done in stream.pipe(dest).