# git-object-blob

> parse and create git blob objects

Latest version **1.0.0** (published 2016-06-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install git-object-blob
pnpm add git-object-blob
yarn add git-object-blob
bun add git-object-blob
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-06-18 |
| First published | 2013-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Chris Dickinson |
| Maintainers | chrisdickinson |
| Keywords | git, blob, object |

## Links

- npm: https://www.npmjs.com/package/git-object-blob
- Repository: https://github.com/chrisdickinson/git-object-blob
- Homepage: https://github.com/chrisdickinson/git-object-blob#readme
- Issues: https://github.com/chrisdickinson/git-object-blob/issues
- npm.io page: https://npm.io/package/git-object-blob

## Recent versions

- 1.0.0 (latest) — 2016-06-18
- 0.0.1 — 2013-03-18

## README

# git-object-blob

git blob objects as javascript objects.

probably the most simple.

```javascript
var Buffer = require('buffer').Buffer
  , blob = require('git-object-blob')

var b = blob.create(new Buffer(...))

b = blob.read(<some git buffer>)

```

## API

#### blob.read(<git buffer>) -> Blob

read a blob from some git buffer data.

#### blob.create(<data>) -> Blob

create a blob from some source data.

#### Blob#data -> Buffer

original blob contents as a Buffer object.

#### Blob#size -> number

size of the blob in bytes.

---
_Source: https://npm.io/package/git-object-blob · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
