node package manager


parse and create git blob objects


git blob objects as javascript objects.

probably the most simple.

var Buffer = require('buffer').Buffer
  , blob = require('git-object-blob')
var b = blob.create(new Buffer(...))
=<some git buffer>)

read a blob from some git buffer data.

create a blob from some source data.

original blob contents as a Buffer object.

size of the blob in bytes.