Skip to content

Commit a9608ca

Browse files
committed
Improve JavaScript example README.
GitOrigin-RevId: 4ea310d3c4fae50e39a85ac2db702ad6d0617995
1 parent 69cb902 commit a9608ca

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

example/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ You can also check out [example/python/tdjson_example.py](https://github.com/tdl
4545
<a name="javascript"></a>
4646
## Using TDLib in JavaScript projects
4747

48-
TDLib can be used from Node.JS through the [JSON](https://github.com/tdlib/td#using-json) interface.
48+
TDLib can be used from Node.js through the [JSON](https://github.com/tdlib/td#using-json) interface.
4949

50-
Convenient Node.JS wrappers already exist for our JSON interface.
50+
Convenient Node.js wrappers already exist for our JSON interface.
5151
For example, take a look at [tdl](https://github.com/Bannerets/tdl), which provides a convenient, fully-asynchronous interface for interaction with TDLib and contains a bunch of examples.
5252

53-
You can also see [node-tdlib](https://github.com/wfjsw/node-tdlib), [tglib](https://github.com/nodegin/tglib) and
54-
[Paper Plane](https://github.com/BlackSuited/paper-plane) for other examples of TDLib JSON interface integration with Node.js.
53+
You can also see [node-tdlib](https://github.com/wfjsw/node-tdlib), [tglib](https://github.com/nodegin/tglib),
54+
[Paper Plane](https://github.com/BlackSuited/paper-plane) and [example/javascript](https://github.com/tdlib/td/tree/master/example/javascript) for other examples of TDLib JSON interface integration with Node.js.
5555

5656
TDLib also can be compiled to WebAssembly and used in a browser from JavaScript, but this functionality isn't production-ready yet. We will publish building and usage instructions later.
5757

example/javascript/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
# TDLib JavaScript (Node.js) example
2+
13
#### Requirements
24

3-
- node.js v9.0.0+
4-
- libtdjson binary
5+
- Node.js v9.0.0+
6+
- [Prebuilt](https://github.com/tdlib/td#building) tdjson shared library
57

68
#### Run
79

0 commit comments

Comments
 (0)