pkg-json-git-repo

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i pkg-json-git-repo

Weekly Downloads

5

Version

0.1.1

License

MIT

Last publish

Collaborators

  • alefteris