Attributes
Includes Deno configuration
Repository
Current version released
2 weeks ago
Dependencies
other
jsr:@roj/tgcrypto@1.0.0jsr:@std/assert@1.0.9jsr:@std/bytes@1.0.4/concatjsr:@std/datetime@0.225.2/constantsjsr:@std/encoding@1.0.5/base64jsr:@std/io@0.225.0/iterate-readerjsr:@std/media-types@1.1.0/content-typejsr:@std/media-types@1.1.0/extensionjsr:@std/path@1.0.8/basenamejsr:@std/path@1.0.8/extnamejsr:@std/path@1.0.8/is-absolutejsr:@std/path@1.0.8/joinjsr:@std/path@1.0.8/to-file-urljsr:@std/streams@1.0.8/to-array-buffernpm:htmlparser2@9.1.0
Versions
- 0.12.0Latest
- 0.11.4
- 0.11.3
- 0.11.2
- 0.11.1
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.1
- 0.5.0
- 0.4.0
- 0.3.1
- 0.3.0
- 0.2.51
- 0.2.50
- 0.2.45
- 0.2.44
- 0.2.43
- 0.2.42
- 0.2.41
- 0.2.40
- 0.2.37
- 0.2.36
- 0.2.35
- 0.2.34
- 0.2.33
- 0.2.32
- 0.2.31
- 0.2.30
- 0.2.24
- 0.2.23
- 0.2.22
- 0.2.21
- 0.2.20
- 0.2.11
- 0.2.10
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.800
- 0.1.708
- 0.1.707
- 0.1.706
- 0.1.705
- 0.1.703
- 0.1.702
- 0.1.701
- 0.1.700
- 0.1.600
- 0.1.500
- 0.1.400
- 0.1.303
- 0.1.278
- 0.1.279
- 0.1.288
- 0.1.289
- 0.1.302
- 0.1.301
- 0.1.300
- 0.1.201
- 0.1.200
- 0.1.191
- 0.1.190
- 0.1.183
- 0.1.182
- 0.1.181
- 0.1.180
- 0.1.170
- 0.1.162
- 0.1.161
- 0.1.160
- 0.1.157
- 0.1.156
- 0.1.155
- 0.1.154
- 0.1.153
- 0.1.152
- 0.1.151
- 0.1.150
- 0.1.149
- 0.1.148
- 0.1.147
- 0.1.146
- 0.1.145
- 0.1.144
- 0.1.143
- 0.1.142
- 0.1.141
- 0.1.140
- 0.1.139
- 0.1.138
- 0.1.137
- 0.1.136
- 0.1.135
- 0.1.134
- 0.1.133
- 0.1.132
- 0.1.131
- 0.1.130
- 0.1.129
- 0.1.128
- 0.1.127
- 0.1.126
- 0.1.125
- 0.1.124
- 0.1.123
- 0.1.122
- 0.1.121
- 0.1.120
- 0.1.119
- 0.1.118
- 0.1.117
- 0.1.116
- 0.1.115
- 0.1.114
- 0.1.113
- 0.1.112
- 0.1.111
- 0.1.110
- 0.1.109
- 0.1.108
- 0.1.107
- 0.1.106
- 0.1.105
- 0.1.104
- 0.1.103
- 0.1.102
- 0.1.101
- 0.1.100
- 0.1.0
- 0.0.999
- 0.0.998
- 0.0.997
- 0.0.996
- 0.0.995
- 0.0.994
- 0.0.993
- 0.0.992
- 0.0.991
- 0.0.990
- 0.0.989
- 0.0.988
- 0.0.987
- 0.0.986
- 0.0.985
- 0.0.984
- 0.0.983
- 0.0.982
- 0.0.981
- 0.0.980
- 0.0.979
- 0.0.978
- 0.0.977
- 0.0.976
- 0.0.975
- 0.0.974
- 0.0.973
- 0.0.972
- 0.0.971
- 0.0.970
- 0.0.969
- 0.0.968
- 0.0.967
- 0.0.966
- 0.0.965
- 0.0.964
- 0.0.963
- 0.0.962
- 0.0.961
- 0.0.960
- 0.0.958
- 0.0.957
- 0.0.956
- 0.0.955
- 0.0.954
- 0.0.953
- 0.0.952
- 0.0.951
- 0.0.950
- 0.0.941
- 0.0.940
- 0.0.939
- 0.0.938
- 0.0.937
- 0.0.936
- 0.0.935
- 0.0.934
- 0.0.933
- 0.0.932
- 0.0.931
- 0.0.930
- 0.0.923
- 0.0.922
- 0.0.921
- 0.0.920
- 0.0.910
- 0.0.906
- 0.0.905
- 0.0.904
- 0.0.903
- 0.0.902
- 0.0.901
- 0.0.900
- 0.0.835
- 0.0.834
- 0.0.833
- 0.0.832
- 0.0.831
- 0.0.829
- 0.0.828
- 0.0.827
- 0.0.826
- 0.0.825
- 0.0.830
- 0.0.824
- 0.0.823
- 0.0.822
- 0.0.821
- 0.0.820
- 0.0.801
- 0.0.800
- 0.0.79
- 0.0.78
- 0.0.77
- 0.0.76
- 0.0.75
- 0.0.73
- 0.0.72
- 0.0.71
- 0.0.7
- 0.0.63
- 0.0.62
- 0.0.61
- 0.0.6
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- 0.0.0
MTKruto
Cross-runtime JavaScript library for building Telegram clients
Documentation / API Reference / Discussion Chat / License
Key Features
- Easy-to-use. Provides high-level methods and types for convenience.
- Cross-runtime. Supports Node.js, Deno, browsers, and Bun.
- Type-safe. Written in TypeScript with accurate typings.
- Made for the Web. Leverages Web APIs.
- Unopinionated. No hidden behaviors.
- Extensible. Highly customizable.
Note: MTKruto has not reached version 1.0.0 yet. While it can run in production, we currently do not recommend depending on it for critical projects.
Get Started
Node.js
const { Client, getRandomId } = require("@mtkruto/node"); // npm install @mtkruto/node
const client = new Client();
await client.connect();
const pong = await client.invoke({ _: "ping", ping_id: getRandomId() });
console.debug(pong);
Deno
import { Client, getRandomId } from "https://deno.land/x/mtkruto/mod.ts";
const client = new Client();
await client.connect();
const pong = await client.invoke({ _: "ping", ping_id: getRandomId() });
console.debug(pong);
Browsers
<script type="module">
import { Client, getRandomId } from "https://esm.sh/jsr/@mtkruto/mtkruto";
const client = new Client();
await client.connect();
const pong = await client.invoke({ _: "ping", ping_id: getRandomId() });
console.debug(pong);
</script>
Bun
import { Client, getRandomId } from "@mtkruto/mtkruto"; // bunx jsr i @mtkruto/mtkruto
const client = new Client();
await client.connect();
const pong = await client.invoke({ _: "ping", ping_id: getRandomId() });
console.debug(pong);
License
MTKruto is made open-source under the GNU Lesser General Public License version 3, or at your option, any later version. Refer to COPYING and COPYING.LESSER for more.