Package Exports
- vk-io
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vk-io) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
VK-IO - This is a powerful Node.js module that allows you to easily interact with the VK API 🚀
📖 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 8.0.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
- @vk-io/session: Simple implementation of the sessions
- @vk-io/scenes: Simple implementation of middleware-based scene management
If you want to add your module in the list, create a new issue in the repository.