【文件属性】:
文件名称:gh-account-exists:检查具有给定用户名的Github帐户是否存在
文件大小:5KB
文件格式:ZIP
更新时间:2021-02-04 07:15:16
nodejs javascript github-api async promise
gh帐户存在
模块,用于检查具有给定用户名的帐户是否存在
const ghAccountExists = require ( 'gh-account-exists' ) ;
ghAccountExists ( 'shinnn' ) . then ( exists => {
console . log ( exists ) ; // true
} ) ;
安装
npm install gh-account-exists
API
const ghAccountExists = require ( 'gh-account-exists' ) ;
ghAccountExists(用户名[,选
【文件预览】:
gh-account-exists-master
----.travis.yml(241B)
----index.js(1KB)
----test.js(3KB)
----package.json(948B)
----LICENSE(1KB)
----.gitignore(22B)
----README.md(2KB)
----.editorconfig(188B)
----.gitattributes(12B)