negezor / vk-io

Modern VK API SDK for Node.js
https://npm.im/vk-io
MIT License
548 stars 85 forks source link
api sdk vk vk-api vk-sdk

NPM version Build Status NPM downloads

VK-IO - This is a powerful Node.js module that allows you to easily interact with the VK API šŸš€

šŸ“– Documentation šŸ¤– Examples

Features

  1. Complete. 100% coverage of the VK API
  2. Simple. Predictable abstraction of VK API. 1 to 1 mapping of API method
    vk.api.users.get({ ... });
  3. Reliable. The library is written in TypeScript and covered by tests.
  4. Modern. The library comes with native ESM support
  5. Powerful. Supports following additional features:

šŸ“¦ Installation

Node.js 12.20.0 or newer is required

Example usage

import { VK } from 'vk-io';

const vk = new VK({
    token: process.env.TOKEN
});

async function run() {
    const response = await vk.api.wall.get({
        owner_id: 1
    });

    console.log(response);
}

run().catch(console.log);

Community

Useful modules that may be useful to you

If you want to add your module in the list, create a new issue in the repository.