Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
This is an Unofficial API of bitly.com [VERSION 4]
Using NPM npm install bitly4api
Using GIT git clone https://github.com/kishanmadhesiya/bitly4api.git
You need 'ACCESS TOKEN' from bitly.com. Visit: https://bitly.com/a/oauth_apps
Check http://dev.bitly.com/ for more info.
// For ES2015/ES6
import Bitly from 'bitly4api';
let bitly = new Bitly('<ACCESS TOKEN>');
bitly.shorten('http://nodejs.org', (response) => {
console.log(response);
}, (error) => {
console.log(error);
});
// For ES5
var Bitly = require('bitly4api');
var bitly = new Bitly('<ACCESS TOKEN>');
bitly.shorten('https://github.com/kishanmadhesiya/bitly4api')
.then(function(response) {
console.log(response);
}, function(error) {
console.log(error);
});
Mail me @ kishanmadhesiya@gmail.com
You can also PayPal Me
To run tests type npm test
.
For coverage type npm run coverage
FAQs
Bitly 4 api
We found that bitly4api 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.