{"componentChunkName":"component---src-templates-post-tsx","path":"/posts/2019/11/git-fork-npm/","result":{"data":{"markdownRemark":{"fields":{"slug":"/2019/11/git-fork-npm/"},"frontmatter":{"title":"Git fork and NPM install git-URL in your own version","tag":["git","GitHub","npm","python","TypeScript"],"image":"https://img.pngio.com/git-png-4-png-image-git-png-1024_600.png"},"correctedDateEpoch":1574355600000,"html":"<p>Sometimes, you want to in stall an NPM package, but it isn't complete enough, or there isn't a TypeScript definition. You can <a href=\"/blog/post/extend-types-typescript\">extend it</a>, by <code>git fork</code> -- and then <code>npm install &#x3C;URL>.git</code>. -- You might need to edit <code>git fork</code> in your own computer first, though.</p>\n<p>Not only NPM. <a href=\"https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/\">Python's PIP can do this as well</a>.</p>\n<p>After extending the fork, you might consider <code>git merge</code> to contribute to the main branch.</p>"}},"pageContext":{"slug":"/2019/11/git-fork-npm/"}}}