File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 1+ 27.2.0
2+ - add support for native Node ES modules
3+
1427.1.2
25 - fixed ` modifyPosition ` parameter docs and types
36
Original file line number Diff line number Diff line change @@ -51,6 +51,14 @@ Examples of integration with :
5151
5252Details of [ integration into HTML] ( https://github.com/metaapi/metaapi-javascript-sdk/blob/master/docs/ui/html.md ) .
5353
54+ ## Using SDK within native [ Node ECMAScript modules] ( https://nodejs.org/docs/latest-v20.x/api/esm.html#modules-ecmascript-modules )
55+ ``` js
56+ import MetaApi from ' metaapi.cloud-sdk/esm-node' ;
57+
58+ const token = ' ...' ;
59+ const api = new MetaApi (token);
60+ ```
61+
5462## Connecting to MetaApi
5563Please use one of these ways:
56641 . [ https://app.metaapi.cloud/api-access/generate-token ] ( https://app.metaapi.cloud/api-access/generate-token ) web UI to obtain your API token.
You can’t perform that action at this time.
0 commit comments