File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,30 @@ This project is designed to help you make your own projects that interact with t
3636 <a href =" https://t.me/binance_api_english " >Support</a >
3737</p ></b >
3838
39- #### Installation: ** ` npm install -s node-binance-api ` **
39+ #### Installation
40+
41+ ```
42+ npm install -s node-binance-api
43+ ```
44+
4045[ ![ npm install node-binance-api] ( https://nodei.co/npm/node-binance-api.png?mini=true )] ( https://npmjs.org/package/node-binance-api )
4146
4247#### Community Telegram Chat
4348
4449https://t.me/nodebinanceapi
4550
4651
47- #### Getting started
52+ #### Getting started (ESM)
53+ ``` javascript
54+ import Binance from ' node-binance-api' ;
55+ async function run () {
56+ const exchange = new Binance ();
57+ const res = await exchange .futuresTime ();
58+ console .log ( res );
59+ }
60+ ```
61+
62+ #### Getting started (CJS)
4863``` javascript
4964const Binance = require (' node-binance-api' );
5065const binance = new Binance ().options ({
You can’t perform that action at this time.
0 commit comments