nl_tokens: Wrapper class around the GitHub API client providing some authentication convenience and additional utility functions for executing operations across the issue trackers of several repositories at once .
pl_tokens: function Sprinter ( username , password , repoSlugs , cache ) { if ( ! username ) { throw new Error ( 'Missing username.' ) ; } if ( ! password ) { throw new Error ( 'Missing password.' ) ; } if ( ! repoSlugs ) { throw new <mask> ( 'Missing repositories.' ) ; } this . username = username ; this . password = password ; // Verify required configuration elements. this . repos = convertSlugsToObjects ( repoSlugs ) ; this . gh = new GitHubApi ( { version : '3.0.0' , timeout : 5000 } ) ; this . gh . authenticate ( { type : 'basic' , username : this . username , password : this . password } ) ; this . _CACHE = { } ; this . setCacheDuration ( cache ) ; this . _setupCaching ( ) ; }