
VK-IO - This is a powerful Node.js module that allows you to easily interact with the VK API 🚀
Features
- Complete.
100%
coverage of the VK API - Simple. Predictable abstraction of VK API. 1 to 1 mapping of API method
vk.api.users.get({...})
- Reliable. The library is written in TypeScript and covered by tests.
- Modern. The library comes with native ESM support
- 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);
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.