# @mt-proto/ncore

[![NPM](https://img.shields.io/npm/v/@mt-proto/ncore.svg?style=flat-square)](https://www.npmjs.com/package/@mt-proto/ncore)
[![Downloads](https://img.shields.io/npm/dm/@mt-proto/ncore?style=flat-square)](https://www.npmjs.com/package/@mt-proto/ncore)

Telegram API JS (MTProto) client library for Node.js and browser

* **Actual.** 214 layer in the API scheme
* **Fast.** For the Node.js, it uses the TCP and crypto module. For the browser, it uses WebSocket and window.crypto
* **Easy.** Cryptography is hidden. Work with the API at a high level
* **Smart.** Automatically sync authorization on all DCs
* **2FA.** Use the library's built-in function to calculate 2FA parameters
* **Secure.** Complies with Telegram security guidelines

## Documentation

You can find the documentation on [mtproto-core.js.org/docs](https://mtproto-core.js.org/docs) website

## License

GPLv3
