diff --git a/package.json b/package.json index 098e50f..8b74894 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,32 @@ { "dependencies": { "sync-request": "^6.1.0" - } + }, + "name": "vk_api", + "description": "**installation:**\r ```bash\r npm i vk_api\r ```\r ## How to use", + "version": "0.0.1", + "main": "index.js", + "devDependencies": {}, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Nikiroy78/npm-vk-api-sync.git" + }, + "keywords": [ + "vk_api", + "vkApi", + "requests", + "API", + "vk", + "vkontakte", + "sync" + ], + "author": "FullGreaM", + "license": "ISC", + "bugs": { + "url": "https://github.com/Nikiroy78/npm-vk-api-sync/issues" + }, + "homepage": "https://github.com/Nikiroy78/npm-vk-api-sync#readme" } diff --git a/readme.md b/readme.md index 10bc686..5b9f54b 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@ **installation:** ```bash -npm i vk_api +npm i vk-api-sync ``` ## How to use @@ -10,7 +10,7 @@ npm i vk_api You can logged in with use login and password: ```node -const vkApi = require('vk_api'); +const vkApi = require('vk-api-sync'); const vk = new vkApi.VkApi({ login : '+78005553535', password : 'qwerty123' @@ -18,7 +18,7 @@ const vk = new vkApi.VkApi({ ``` or with use access_token ```node -const vkApi = require('vk_api'); +const vkApi = require('vk-api-sync'); const vk = new vkApi.VkApi({ access_token : "ACCESS_TOKEN_STRING" }); @@ -26,7 +26,7 @@ const vk = new vkApi.VkApi({ **Additional parametrs** In constructor you can edit **api_version**, **api_server** and **oauth_server**: ```node -const vkApi = require('vk_api'); +const vkApi = require('vk-api-sync'); const authOptions = { /* Another auth params */ }; const API_VERSION = "5.75";