Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Smart and efficient sdk for vk.com API
execute
api method to perform more api calls per permitted time interval.npm i 1VK --save
// initialization and authorisation (VK.init , VK.Auth.login)
// then
var apiQueue = new VK(3, 1e3, VK.Api.call)
var usersFriends = [];
// gets friends for 1000 users
for (var i=0; i<1e3; i=i+1)
apiQueue.request('friends.get', {user_id: i}).then(function(friends) {
console.log(friends)
})
You can use any open api like library (function (methodName, patams, callback)
)
Please read source code. The code is pretty simple and jsdoc annotated.
FAQs
smart and efficient sdk for vk.com API
We found that 1vk 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.