Skip to content

alefteris/pkg-json-git-repo

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

License

Stars

Watchers

Forks

Packages

No packages published