# git-node-fs

> A node adapter for the fs-db mixin for js-git

Latest version **1.0.0** (published 2014-08-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install git-node-fs
pnpm add git-node-fs
yarn add git-node-fs
bun add git-node-fs
```

## 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 | 2014-08-22 |
| First published | 2014-05-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18 |
| Maintainers | creationix |
| Keywords | git, js-git |

## Links

- npm: https://www.npmjs.com/package/git-node-fs
- Repository: https://github.com/creationix/git-node-fs
- Issues: https://github.com/creationix/git-node-fs/issues
- npm.io page: https://npm.io/package/git-node-fs

## Recent versions

- 1.0.0 (latest) — 2014-08-22
- 0.1.0 — 2014-07-25
- 0.0.2 — 2014-05-21
- 0.0.1 — 2014-05-21

## README

git-node-fs
===========

A node adapter for the fs-db mixin for [js-git].
This enables access to Git repositories on the filesystem using Node.js.

```js
var repo = {};
repo.rootPath = path.join(__dirname, ".git");
var fs = require("git-node-fs");
require("js-git/mixins/fs-db")(repo, fs);
```

Or use the provided mixin directly.

```js
var repo = {};
var path = path.join("some/bare/repo.git");
require('git-node-fs/mixins/fs-db')(repo, path);
```

[js-git]: https://github.com/creationix/js-git

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