๐ฆQuick Start | Installation
โ๏ธ Installation
When installing the module, the necessary assets of the current version of the game are automatically loaded. You can also specify the languages for which to download localization.
Full list of supported languages - EN, RU, CHS, CHT, DE, ES, FR, ID, JP, KR, PT, TH, VI
They should be listed through ยซ,
ยป (without a space). If you do not specify them, then English will be downloaded. For example - npm i enkanetwork --languages=EN,RU
โญ Usage
We have installed the library. Now it's time to start writing the simplest example in CommonJS style.
Create a file in the folder of our project which we will call ยซ
index.js
ยป or ยซindex.mjs
ยป for ECMAScript styleImport the library and create an instance of the class
- ES import style
or in CommonJS
CommonJS styleWe receive data for an account with uid
618285856
and console.log it
๐ Full example
Last updated