0.7.0 • Published 9 years ago

steam-econcc v0.7.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

EconCC

EconCC is a currency conversion and formatting library for Steam economy and real world currencies, based on the format used by backpack.tf.

You can feed backpack.tf's IGetCurrencies API into it, or specify your own currencies. Currency-specific rounding is supported, and you can include as many real world currencies as you'd like.

EconCC has no dependencies and is supported on node.js/io.js and the browser (ES5 or better). backpack.tf parsing is supported for IGetCurrencies v1. You must obtain the data yourself and JSON.parse it before feeding it into EconCC.

CSGO/Dota 2 are supported, using backpack.tf's IGetMarketPrices API. See CSGOSCMSpec.js for an implementation.

npm: npm install --save steam-econcc

Examples

See TFSpec.js for some example usage.

Documentation

See Documentation.md.

Testing

Tests are written using jasmine. Install the test runner globally (npm install -g jasmine) and run npm test in the root directory.

Compile the source with: npm run build

License

MIT

0.7.0

9 years ago

0.6.0

9 years ago

0.5.0

9 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago