在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:hemanth/github-fetcher开源软件地址:https://github.com/hemanth/github-fetcher开源编程语言:JavaScript 100.0%开源软件介绍:github-fetcher
Install
Usagevar githubFetcher = require('github-fetcher'); APIFetch user info.githubFetcher.user('hemanth').
then( (data) => console.log(data) ).
catch( (err) => console.log(err) ); Fetch organizations of an user.githubFetcher.orgs('hemanth').
then( (data) => console.log(data) ).
catch( (err) => console.log(err) ); Fetch all the public gists of an user.githubFetcher.gists('hemanth').
then( (data) => console.log(data) ).
catch( (err) => console.log(err) ); Fetch all the repos for a given user.githubFetcher.repos('hemanth').
then( (data) => console.log(data) ).
catch( (err) => console.log(err) ); Fetch all the branches for a given repo and user.githubFetcher.branches('hemanth','paws-on-es6').
then( (data) => console.log(data) ).
catch( (err) => console.log(err) ); Fetch all the stargazers for a given user and repo.githubFetcher.gists('hemanth','es7-features').
then( (data) => console.log(data) ).
catch( (err) => console.log(err) ); Fetch all the emojis available to use on GitHub.githubFetcher.emojis().
then( (data) => console.log(data) ).
catch( (err) => console.log(err) ); Fetch all the gitignore templates or a specific template.githubFetcher.gitIgnore().
then( (data) => console.log(data) ).
catch( (err) => console.log(err) );
/* OR a specific lang */
githubFetcher.gitIgnore('node').
then( (data) => console.log(data) ).
catch( (err) => console.log(err) ); Fetch all the members of the given org.githubFetcher.members('yeoman').
then( (data) => console.log(data) ).
catch( (err) => console.log(err) ); Fetches all the licenses or particular type.githubFetcher.licenses(<type>).
then( (data) => console.log(data) ).
catch( (err) => console.log(err) ); TODOLicenseMIT © Hemanth.HM |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论