New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

package.json
{
"name": "valorant-tools",
"version": "1.0.0",
"version": "1.1.0",
"description": "Various valorant related tools for overwolf apps.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -33,2 +33,7 @@ ## Various valorant related tools for overwolf apps.

```js
import { getEveryAgent } from 'valorant-tools';
console.log(getEveryAgent('en')); //["Raze", "Viper", ...]
```
#### Retrieve agents name for a language

@@ -55,2 +60,7 @@

```js
import { getEveryMap } from 'valorant-tools';
console.log(getEveryMap('en')); //["Haven", "Bind", ...]
```
### Supported languages

@@ -57,0 +67,0 @@

@@ -63,2 +63,4 @@ const AGENTS = {

export { AGENTS, getAgentName, isAgentExist };
const getEveryAgent = (lang = 'en') => AGENTS.map((agent) => agent[lang]);
export { AGENTS, getAgentName, isAgentExist, getEveryAgent };

@@ -1,4 +0,13 @@

import { AGENTS, getAgentName, isAgentExist } from './agent';
import { MAPS, getMapName, isMapExist } from './map';
import { AGENTS, getAgentName, isAgentExist, getEveryAgent } from './agent';
import { MAPS, getMapName, isMapExist, getEveryMap } from './map';
export { AGENTS, getAgentName, isAgentExist, MAPS, getMapName, isMapExist };
export {
AGENTS,
getAgentName,
isAgentExist,
getEveryAgent,
MAPS,
getMapName,
isMapExist,
getEveryMap,
};

@@ -30,2 +30,4 @@ const MAPS = {

export { MAPS, getMapName, isMapExist };
const getEveryMap = (lang = 'en') => MAPS.map((map) => map[lang]);
export { MAPS, getMapName, isMapExist, getEveryMap };
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