{"_id":"pkg-homepage","_rev":"221123","name":"pkg-homepage","description":"Get or create a homepage URL from the given package.json","dist-tags":{"latest":"0.1.1"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T15:40:01.000Z","created":"2015-12-20T14:40:04.176Z","0.1.1":"2016-04-27T09:10:30.624Z","0.1.0":"2015-12-20T14:40:04.176Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/pkg-homepage.git"},"versions":{"0.1.1":{"name":"pkg-homepage","description":"Get or create a homepage URL from the given package.json","version":"0.1.1","homepage":"https://github.com/jonschlinkert/pkg-homepage","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/pkg-homepage.git"},"bugs":{"url":"https://github.com/jonschlinkert/pkg-homepage/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^2.1.0","lazy-cache":"^1.0.4","parse-github-url":"^0.3.1","stringify-github-url":"^0.1.0"},"devDependencies":{"gulp-format-md":"^0.1.9","mocha":"^2.4.5"},"keywords":["homepage","pkg"],"verb":{"plugins":["gulp-format-md"],"related":{"list":["git-branch","git-repo-name","git-user-name","git-username","parse-author","stringify-author"]},"toc":false,"layout":"default","tasks":["readme"],"lint":{"reflinks":true},"reflinks":["verb"]},"gitHead":"8f2653dc6525367b30ba8dd383febf6952db7ab4","_id":"pkg-homepage@0.1.1","_shasum":"cc8c1e0e6b5000afe8942077946b2761ca526c74","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"cc8c1e0e6b5000afe8942077946b2761ca526c74","size":2667,"noattachment":false,"key":"/pkg-homepage/-/pkg-homepage-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pkg-homepage/download/pkg-homepage-0.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/pkg-homepage-0.1.1.tgz_1461748229690_0.33829462993890047"},"directories":{},"publish_time":1461748230624,"_cnpm_publish_time":1461748230624,"_hasShrinkwrap":false},"0.1.0":{"name":"pkg-homepage","description":"Get or create a homepage URL from the given package.json","version":"0.1.0","homepage":"https://github.com/jonschlinkert/pkg-homepage","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/pkg-homepage.git"},"bugs":{"url":"https://github.com/jonschlinkert/pkg-homepage/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"parse-github-url":"^0.2.1","stringify-github-url":"^0.1.0"},"devDependencies":{"lazy-cache":"^1.0.3","mocha":"*"},"verb":{"related":{"list":["git-branch","git-repo-name","git-user-name","git-username","parse-author","stringify-author"]},"plugins":["gulp-format-md"]},"gitHead":"3c4c611eb82dd81a9479182229dd5419ac48433d","_id":"pkg-homepage@0.1.0","_shasum":"9aa92e63bdcacc0a54d9b8e79f3c9f57dd9932a4","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9aa92e63bdcacc0a54d9b8e79f3c9f57dd9932a4","size":2580,"noattachment":false,"key":"/pkg-homepage/-/pkg-homepage-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pkg-homepage/download/pkg-homepage-0.1.0.tgz"},"directories":{},"publish_time":1450622404176,"_cnpm_publish_time":1450622404176,"_hasShrinkwrap":false}},"readme":"# pkg-homepage [![NPM version](https://img.shields.io/npm/v/pkg-homepage.svg?style=flat)](https://www.npmjs.com/package/pkg-homepage) [![NPM downloads](https://img.shields.io/npm/dm/pkg-homepage.svg?style=flat)](https://npmjs.org/package/pkg-homepage) [![Build Status](https://img.shields.io/travis/jonschlinkert/pkg-homepage.svg?style=flat)](https://travis-ci.org/jonschlinkert/pkg-homepage)\n\nGet or create a homepage URL from the given package.json\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install pkg-homepage --save\n```\n\n## Usage\n\n```js\nvar homepage = require('pkg-homepage');\n\nhomepage({homepage: 'https://github.com/foo/bar'});\n//=> 'https://github.com/foo/bar'\n\nhomepage({repository: 'foo/bar'});\n//=> 'https://github.com/foo/bar'\n\nhomepage({repository: {url: 'git://gitub.com/foo/bar.git'}});\n//=> 'https://github.com/foo/bar'\n```\n\n## Related projects\n\nYou might also be interested in these projects:\n\n* [git-branch](https://www.npmjs.com/package/git-branch): Get the current branch for a local git repository. | [homepage](https://github.com/jonschlinkert/git-branch)\n* [git-repo-name](https://www.npmjs.com/package/git-repo-name): Get the repository name from the git remote origin URL. | [homepage](https://github.com/jonschlinkert/git-repo-name)\n* [git-user-name](https://www.npmjs.com/package/git-user-name): Get a user's name from git config at the project or global scope, depending on… [more](https://www.npmjs.com/package/git-user-name) | [homepage](https://github.com/jonschlinkert/git-user-name)\n* [git-username](https://www.npmjs.com/package/git-username): Get the username from a git remote origin URL. | [homepage](https://github.com/jonschlinkert/git-username)\n* [parse-author](https://www.npmjs.com/package/parse-author): Parse a string into an object with `name`, `email` and `url` properties following npm conventions.… [more](https://www.npmjs.com/package/parse-author) | [homepage](https://github.com/jonschlinkert/parse-author)\n* [stringify-author](https://www.npmjs.com/package/stringify-author): Stringify an authors object to `name <email> (url)`. | [homepage](https://github.com/jonschlinkert/stringify-author)\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/pkg-homepage/issues/new).\n\n## Building docs\n\nGenerate readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install verb && npm run docs\n```\n\nOr, if [verb](https://github.com/verbose/verb) is installed globally:\n\n```sh\n$ verb\n```\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n## Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/jonschlinkert/pkg-homepage/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on April 27, 2016._","_attachments":{},"homepage":"https://github.com/jonschlinkert/pkg-homepage","bugs":{"url":"https://github.com/jonschlinkert/pkg-homepage/issues"},"license":"MIT"}