JSPM

git-side-band-message

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1790
  • Score
    100M100P100Q120266F
  • License BSD

encode strings into the packfile side-band format that git uses. e.g. write messages to stdout of git clone clients

Package Exports

  • git-side-band-message

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (git-side-band-message) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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)