vk-io
TypeScript icon, indicating that this package has built-in type declarations

4.9.1 • Public • Published

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

  • Using npm (recommended)
    npm i vk-io
  • Using Yarn
    yarn add vk-io
  • Using pnpm
    pnpm add 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.

Package Sidebar

Install

npm i vk-io

Weekly Downloads

787

Version

4.9.1

License

MIT

Unpacked Size

1.27 MB

Total Files

105

Last publish

Collaborators

  • negezor