Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

valorant-tools

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

valorant-tools

Various valorant related tools for overwolf apps.

  • 2.5.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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); //Chamber
Check if agent exists
import { isAgentExist } from 'valorant-tools';
const isAgentValid = isAgentExist('Deadeye_PC_C');
console.log(isAgentValid); //true
import { AGENTS } from 'valorant-tools';
console.log(AGENTS); //{ Clay_PC_C: { "en": "Rate" }, ...}
import { getEveryAgent } from 'valorant-tools';
console.log(getEveryAgent('en')); //["Raze", "Viper", ...]
Retrieve agents name for a language
import { getMapName } from 'valorant-tools';
const myMapEnglish = getMapName('Canyon', 'en');
console.log(myMapEnglish); //Fracture
Check if agent exists
import { isMapExist } from 'valorant-tools';
const isMapValid = isMapExist('Canyon');
console.log(isMapValid); //true
import { MAPS } from 'valorant-tools';
console.log(MAPS); //{ Triad: { "en": "Haven" }, ...}
import { getEveryMap } from 'valorant-tools';
console.log(getEveryMap('en')); //["Haven", "Bind", ...]

Supported languages

  • English

Contribution

Please feel free to contribute.

Contact

  • Gabriel Mičko on Twitter, GitHub

Keywords

FAQs

Package last updated on 30 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc