online-branch-exist:使用 userrepo#branch 模式检查 github 存储库中是否存在给定的 branchtagrelease

时间:2021-06-12 10:44:32
【文件属性】:
文件名称:online-branch-exist:使用 userrepo#branch 模式检查 github 存储库中是否存在给定的 branchtagrelease
文件大小:10KB
文件格式:ZIP
更新时间:2021-06-12 10:44:32
JavaScript 使用user/repo#branch模式检查 github 存储库中是否存在给定的分支/标签/发布。 安装 npm i --save online-branch-exist npm test 应用程序接口 有关更多用例,请参阅 使用user/repo#branch你可以检查tag或branch存在 pattern {字符串} opts {Object}选项传递给 opts.token {String}可选的 callback {函数} 例子: var onlineExist = require ( 'online-branch-exist' ) ; // first will check if branch exists // if not exist, will check if tag with name `master` exists // at last if not e
【文件预览】:
online-branch-exist-master
----history.md(1KB)
----.gitignore(608B)
----license.md(1KB)
----.jscsrc(3KB)
----.gitattributes(863B)
----.jshintrc(701B)
----package.json(1KB)
----.jshintignore(325B)
----readme.md(5KB)
----index.js(4KB)
----test.js(3KB)
----.travis.yml(176B)
----.editorconfig(604B)

网友评论