UNPKG
git-cat-file
Version:
latest (0.5.2)
0.5.2
0.5.1
0.4.3
0.4.1
0.4.0
0.3.0
0.2.0
0.1.2
0.1.1
0.1.0
Pure JavaScript `git cat-file -p` for node.js
github.com/kawanet/git-cat-file
kawanet/git-cat-file
git-cat-file
/
lib
/
index.js
12 lines
(11 loc)
•
300 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
"use strict"
;
/** * https://github.com/kawanet/git-cat-file */
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
openLocalRepo
=
void
0
;
const
repo_1 =
require
(
"./repo"
);
function
openLocalRepo
(
path
) {
return
new
repo_1.
Repo
(path); }
exports
.
openLocalRepo
= openLocalRepo;