Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
node-okbitbucket
Advanced tools
Readme
Mac/Linux | Windows |
---|---|
API to programmatically query / write on bitbucket.
Pure NodeJS implementation.
npm i node-okbitbucket --save
var secrets = {
username:'',
password:'',
oauth = {
clientId: '',
secret: ''
}
};
// var secrets = require('./secrets.json');
// enable debug messages
if ( process.env.NODE_ENV === 'test' ){
process.env.DEBUG='*';
}
var BitBucket = require('node-okbitbucket');
var bbt = (new BitBucket())
.authenticatePassword(secrets.username, secrets.password);
bbt.getUserApi().getRepositories(username, function(err, repos){ });
bbt.getUsersApi().getUserData(username, function(err, user){ });
bbt.getSshApi().getKeys(function(err, keys){ });
bbt.getSshApi().addKey(pubkey, function(err){ });
bbt.getSshApi().deleteKey(pubkey, function(err){ });
bbt.getSshApi().deleteAllKeys(function(){ });
bbt.getRepoApi().show(username, repo, function(err, userRepo){ })
bbt.getRepoApi().getUserRepos(username, function(err, repositories){ })
bbt.getEmailApi().getAll(username, repo, function(err, userRepo){ })
npm run test
DEBUG=node-okbitbucket mocha
It s a fork or original repo found on github, itself a fork of a bitbucket repo.
I only want to note about the license, i see there is one, i m not interested into this, not at all.
I just need this to work, the rest is pointless.
FAQs
Wrapper for the BitBucket API
The npm package node-okbitbucket receives a total of 3 weekly downloads. As such, node-okbitbucket popularity was classified as not popular.
We found that node-okbitbucket demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.