0.1.0 • Published 10 years ago

git-write-pkt-line v0.1.0

Weekly downloads
51,475
License
MIT
Repository
github
Last release
10 years ago

git-write-pkt-line

Write git smart protocol packet lines.

var send = require('git-write-pkt-line')()

send.on('data', function(d) {
  console.log(d)
})

send.write('want 0000000000000000000000000000000000000000')

API

this module presents a through stream; when written to it adds the appropriate length header and newline ending. if an empty string or buffer is written, it will send a git "flush packet", which is just a size-0 packet.

License

MIT

0.1.0

10 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago