git-transport-protocol
wrap a r/w stream in this transport r/w stream for transforming writes into valid git packet lines, and reads from git packet lines into JS objects.
var net = transport = client tcp tcp = net client = client // start a fetchclient
API
transport(connection) -> client
wrap any readable/writable stream with git-packet-line senders and receivers.
client.setRawMode([true]) -> rawmode boolean
enter or exit "raw" mode -- this makes writes skip the pkt-write portion of the stream and go directly to the connection.
this is useful for, e.g., sending packfile data.
License
MIT