# git-object-tag

> parse and create git tag objects

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

## Install

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

## 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 | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chris Dickinson |
| Maintainers | chrisdickinson |
| Keywords | git, tag, object |

## Links

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

## Dependencies (1)

- [bops](https://npm.io/package/bops.md) ~0.0.6

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-06-18
- 0.0.5 — 2013-05-27
- 0.0.4 — 2013-05-06
- 0.0.3 — 2013-05-05
- 0.0.2 — 2013-05-04
- 0.0.1 — 2013-03-18

## README

# git-object-tag

git tag objects as javascript objects.

tag objects are immutable once created.

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

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

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

```

## API

#### tag.read(<git buffer>) -> Tag

read a tag from some git buffer data.

#### tag.create(tagger, object, type, tag, message, attrs) -> Tag

create a tag from some source data.

all fields (save for message) may be arrays.

#### Tag#tag() -> string
#### Tag#type() -> "commit" | "tag" | "blob" | "tree"
#### Tag#tagger() -> string
#### Tag#message() -> string
#### Tag#attr(attr) -> string | undefined

## License

MIT

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