Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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
The npm package bitly4api receives a total of 12 weekly downloads. As such, bitly4api popularity was classified as not popular.
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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.