New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

csgo-float

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csgo-float

CS:GO Float values

  • 0.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

csgo-float

Retrieve CS:GO float values in Node.JS

npm i -S csgo-float
Usage
Client
new FloatClient(clientAuth, debug)

clientAuth {Object} SteamUser credentials to login

debug {Boolean} Print some useful informations

const client = new FloatClient({
  account_name: 'yeah',
  password: 'this-is',
  auth_code: 'definitely',
  sha_sentryfile: 'right'
}, true)
Methods
client.requestFloat(url)

Returns a Promise.

Where url is a string formatted like S76561198190349706A4757476613D16467978012840927110.

client.requestFloat('S76561198190349706A4757476613D16467978012840927110')
  .then(floatValue => {
    console.log(floatValue)
  })
  .catch(err => {
    console.log(err)
  })
Events

ready Emitted once the client is ready to receive float requests

sentry The user is authenticated and the account sentry is sent, should be saved somewhere

error Once an error is triggered

Thanks

This would not exists without the help of @Twewki.

Keywords

FAQs

Package last updated on 07 Jan 2016

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