{"_id":"repo-path-parse","_rev":"6-a3256a03bb50c4f9d7ace0a428dcaf8d","name":"repo-path-parse","description":"parse repository path strings to get repository and organization parts","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"repo-path-parse","version":"1.0.1","description":"parse repository path strings to get repository and organization parts","main":"index.js","scripts":{"test":"tape test.js","doc":"dox -r < index.js | doxme --readme > README.md"},"keywords":["repo","git","github","repository"],"author":{"name":"Tom MacWright"},"license":"ISC","devDependencies":{"tape":"^3.5.0"},"dependencies":{"dox":"^0.6.1","doxme":"^1.8.1"},"repository":{"type":"git","url":"git@github.com:tmcw/repo-path-parse.git"},"gitHead":"22b2a7411c6a5ca2dab917567fb07ea5ff3a386e","bugs":{"url":"https://github.com/tmcw/repo-path-parse/issues"},"homepage":"https://github.com/tmcw/repo-path-parse","_id":"repo-path-parse@1.0.1","_shasum":"c510fbd5cd47eea04d81ca33cc5d4d533c8da60a","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.36","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"c510fbd5cd47eea04d81ca33cc5d4d533c8da60a","tarball":"https://registry.npmjs.org/repo-path-parse/-/repo-path-parse-1.0.1.tgz","integrity":"sha512-+OjaBbK19nWMCMeX5Mi2mXJfcZOtSTRzeu82tVWecKm2s35Qrr1cLEZZUyn7/VktOO9o8blyA/gMa0uqQLuO7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjfNcDPQHAcIUeR3AhqXJEpGG3aC08CAYm/1JylJjrDAiEA7X66kb8LREQtcirhhwLfP7kXkWddJVSMSHQS2w7E6Go="}]}}},"readme":"# repo-path-parse\n\n[![build status](https://secure.travis-ci.org/tmcw/repo-path-parse.png)](http://travis-ci.org/tmcw/repo-path-parse)\n\nparse repository path strings to get repository and organization parts\n\n\n### `repo-path-parse(url)`\n\nParse git remote URLs into an object with `owner` and `repo`\nkeys.\n\n\n### Parameters\n\n| parameter | type   | description                                |\n| --------- | ------ | ------------------------------------------ |\n| `url`     | String | any git-clonable URL that points to GitHub |\n\n\n### Example\n\n```js\nvar repoPathParse = require('repo-path-parse');\nrepoPathParse('git@github.com:tmcw/repo-path-parse.git');\n// returns { owner: 'tmcw', repo: 'repo-path-parse' }\n```\n\n\n**Returns** `Object`, an object of `{owner:'owner',repo:'repo'}`\n\n## Installation\n\nRequires [nodejs](http://nodejs.org/).\n\n```sh\n$ npm install repo-path-parse\n```\n\n## Tests\n\n```sh\n$ npm test\n```\n\n\n","maintainers":[{"email":"tom@macwright.org","name":"tmcw"}],"time":{"modified":"2022-06-26T11:23:52.922Z","created":"2015-03-02T02:24:05.548Z","1.0.1":"2015-03-02T02:24:05.548Z"},"homepage":"https://github.com/tmcw/repo-path-parse","keywords":["repo","git","github","repository"],"repository":{"type":"git","url":"git@github.com:tmcw/repo-path-parse.git"},"author":{"name":"Tom MacWright"},"bugs":{"url":"https://github.com/tmcw/repo-path-parse/issues"},"license":"ISC","readmeFilename":"README.md"}