CCXT-readme-5.js
· 206 B · JavaScript
Raw
//cjs
var ccxt = require ('ccxt')
console.log (ccxt.exchanges) // print all available exchanges
```
```Javascript
//esm
import {version, exchanges} from 'ccxt';
console.log(version, Object.keys(exchanges));
1 | //cjs |
2 | var ccxt = require ('ccxt') |
3 | console.log (ccxt.exchanges) // print all available exchanges |
4 | ``` |
5 | ```Javascript |
6 | //esm |
7 | import {version, exchanges} from 'ccxt'; |
8 | console.log(version, Object.keys(exchanges)); |