
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
github-rest
Advanced tools
GitHub API based on GitHub REST API v3.
const Rest = require('github-rest');
const rest = new Rest(/* token */ '<YOUR_PERSONAL_ACCESS_TOKEN>');
rest.createRepository({ name: '<REPO_NAME>'})
.then(repo => { /* ... */ })
.catch(err => { /* ... */ })
const createRepository = require('github-rest/createRepository');
const options = {
token: '<YOUR_PERSONAL_ACCESS_TOKEN>',
name: '<REPO_NAME>',
// ...
};
createRepository(options)
.then(repo => { /* ... */ })
.catch(err => { /* ... */ })
;
All methods are asynchronous and will return instances of Promise. Hereafter, response means what to be obtained in .then((response) => { /* ... */ }).
All methods may be required and invoked by itself as what we see in Get Started, Standalone Function.
Response metadata of the just created repository.
Delete repository one by once. If successfully executed (whether the repository deleted, or had been deleted before, or does not exist at all), null will be responsed. Otherwise, an error will be thrown and you should use .catch() to catch it.
Response an array. Each item contains metadata of a matching repository.
Response metadata of the repository.
Response metadata of the user who is the owner of the token.
FAQs
GitHub API based on GitHub REST API v3.
We found that github-rest demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.