node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

vk-wrapper

VK Wrapper VK Wrapper

VK Wrapper

Small wrapper for calling VK methods API.

Install

$ npm install vk-wrapper --save

Usage

const api = require('vk-wrapper')
 
api('users.get', {
  user_ids: 1
}).then(body => {
  console.log(body) // => { response: [ { id: 1, first_name: 'Павел', last_name: 'Дуров' } ] } 
})

License

MIT.