Skip to content

Repository files navigation

pkg-json-git-repo npm version Build status Coverage status Dependency Status

Get the Git repo out of a package.json.

Installation

npm install pkg-json-git-repo

Usage

const pkgJsonGitRepo = require('pkg-json-git-repo');

pkgJsonGitRepo('/path/to/package.json')
  .then(console.log)
  .catch(console.error);
// git+https://github.com/alefteris/pkg-json-git-repo.git

License

MIT

About

Get the Git repo out of a package.json.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages