vk-io

Modern VK API SDK for Node.js

Usage no npm install needed!

<script type="module">
  import vkIo from 'https://cdn.skypack.dev/vk-io';
</script>

README

NPM version Build Status NPM downloads Code quality

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

📖 Documentation 🤖 Examples

Features

  • 100% coverage of the VKontakte API
  • Predictable abstraction
  • Works with large collections of data
  • Support for all types of authorization, including via login and password
  • Typings

Installation

Node.js 12.20.0 or newer is required

Yarn

Recommended

yarn add vk-io

NPM

npm i vk-io

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.