
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
csgo-float
Advanced tools
Retrieve CS:GO float values in JavaScript
npm i -S csgo-float
Only one request can be done at a time by each client. You'll have to wait for the first request to be processed before sending another one.
new FloatClient(clientAuth, debug)
clientAuth
{Object} SteamUser credentials to login / SteamClient
debug
{Boolean} Print some useful informations
// Init a client using a credentials object
const client = new FloatClient({
account_name: 'yeah',
password: 'this-is',
auth_code: 'definitely',
sha_sentryfile: 'right'
}, true)
// Or by passing an existing SteamClient instance
// that should be connected and logged.
const steamClient = new SteamClient()
const client = new FloatClient(steamClient)
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))
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
This would not exists without the help of @Twewki.
FAQs
CS:GO Float values
The npm package csgo-float receives a total of 12 weekly downloads. As such, csgo-float popularity was classified as not popular.
We found that csgo-float demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.