github-url-to-object:一个节点模块,它从各种形式的GitHub URL中提取有用的属性,例如用户,存储库和分...
github-url-to-object用于node.js和浏览器的模块,可从各种GitHub URL中提取有用的属性,如user , repo和branch 。还有一个与此库等效的Bitbucket: 。在查看演示。安装对于Node.js或Browserify的用法: npm i github-url-to-object对于凉亭使用: bower install github-url-to-object用法使用任何喜欢的GitHub URL风格: const gh = require ( 'github-url-to-object' ) gh ( 'github:monkey/business' ) gh ( 'https://github.com/monkey/bus
10KB
文件大小:
评论区