git-side-band-message

0.0.3 • Public • Published

git-side-band-message

NPM

Encode strings into the packfile side-band format that git uses. Useful for sending messages to clients doing git push so that your messages show up in their stdout.

Used in https://github.com/substack/git-http-backend

Inspired by @dz0ny from https://github.com/substack/pushover/pull/10, rewritten by me

usage

var encode = require('git-side-band-message')
var msg = encode('hello there!')
gitCloneResponseStream.write(msg)

Readme

Keywords

none

Package Sidebar

Install

npm i git-side-band-message

Weekly Downloads

773

Version

0.0.3

License

BSD

Last publish

Collaborators

  • maxogden