New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

like-github

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

like-github

GitHub API wrapper for Node.js

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

like-github

GitHub API wrapper for Node.js

npm i like-github

Usage

const GitHub = require('like-github')

const gh = new GitHub()

for await (const repo of gh.users.reposAll('<username>')) {
  console.log('-', repo.name, repo.description)

  const pkg = await gh.users.package(repo.owner.login, repo.name)
  const readme = await gh.users.readme(repo.owner.login, repo.name)

  console.log('Package', pkg.name, pkg.version, pkg.main, pkg.license)
  console.log('Documentation', readme)
}

API

github = new GitHub([options])

Create a GitHub instance.

Options:

{
  token // For higher rate-limits
}

License

MIT

FAQs

Package last updated on 05 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts