github-auth-scopes:带有说明的github范围

时间:2024-06-13 04:56:16
【文件属性】:

文件名称:github-auth-scopes:带有说明的github范围

文件大小:4KB

文件格式:ZIP

更新时间:2024-06-13 04:56:16

JavaScript

github-oauth-scopes 用于处理github宣誓范围的实用程序 var ghScopes = require ( 'github-oath-scopes' ) ; ghScopes . isValid ( 'repo' ) ; // true ghScopes . isValid ( 'bad_scope' ) ; // false ghScopes . validate ( [ 'repo' , 'bad_scope' ] ) ; // throws an error ghScopes . validate ( [ 'repo' ] ) ; // returns the array ghScopes . validate ( null | undefined ) ; // returns an empty array // elimin


【文件预览】:
github-auth-scopes-master
----.gitignore(38B)
----README.md(946B)
----test()
--------test.js(1KB)
----package.json(766B)
----index.js(5KB)
----.travis.yml(136B)

网友评论