-
检查GitHub仓库是否包含许可证:gh-repo-has-license
资源介绍
gh-repo-has-license
检查GitHub存储库是否具有许可证
安装
$ npm install gh-repo-has-license
用法
const ghRepoHasLicense = require ( 'gh-repo-has-license' ) ;
ghRepoHasLicense ( 'Knutakir/btc-value-cli' ) . then ( result => {
console . log ( result ) ;
// => true
} ) ;
ghRepoHasLicense ( 'https://github.com/Knutakir/btc-value-cli' ) . then ( result => {
console . log ( result ) ;
// => true
} ) ;
- 上一篇: truelicense-swing-1.32.jar
- 下一篇: ansys 14.5