Socket
Socket
Sign inDemoInstall

cs-doppler-phase

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cs-doppler-phase

Get the phase of a Counter-Strike Doppler skin


Version published
Weekly downloads
27
decreased by-40%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

cs-doppler-phase

Get the phase of a Counter-Strike Doppler skin

Based on icon_url of an item from Steam.

Install

npm install cs-doppler-phase

Usage

import { getDopplerPhase } from "cs-doppler-phase";

getDopplerPhase("-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpovbSsLQJfxPrMfipP7dezhr-KmsjwPKvBmm5D19V5i_rEpLPigVC7vCwwOj6rYJjHcAFtN1mB_1TryevvjJTu7p6bwHJjunIhsH6PzRzlgE0YbrA9gaSaVxzAUM53KYio")
// => phase1

getDopplerPhase("test")
// => null

API

getDopplerPhase(iconUrl)

Returns phase1, phase2, phase3, phase4, ruby, sapphire or blackpearl if iconUrl matches a phase or null if not.

iconUrl

Type: string

The icon_url of the item from Steam.

Keywords

FAQs

Last updated on 03 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc