Various valorant related tools for overwolf apps.
Install with npm or yarn
npm install --save valorant-tools
yarn add valorant-tools
Functions:
Retrieve agents name for a language
import { getAgentName } from 'valorant-tools';
const myAgentEnglish = getAgentName('Deadeye_PC_C', 'en');
console.log(myAgentEnglish);
Check if agent exists
import { isAgentExist } from 'valorant-tools';
const isAgentValid = isAgentExist('Deadeye_PC_C');
console.log(isAgentValid);
import { AGENTS } from 'valorant-tools';
console.log(AGENTS);
import { getEveryAgent } from 'valorant-tools';
console.log(getEveryAgent('en'));
Retrieve agents name for a language
import { getMapName } from 'valorant-tools';
const myMapEnglish = getMapName('Canyon', 'en');
console.log(myMapEnglish);
Check if agent exists
import { isMapExist } from 'valorant-tools';
const isMapValid = isMapExist('Canyon');
console.log(isMapValid);
import { MAPS } from 'valorant-tools';
console.log(MAPS);
import { getEveryMap } from 'valorant-tools';
console.log(getEveryMap('en'));
Supported languages
Contribution
Please feel free to contribute.
Contact