Skip to content

Commit 56240fa

Browse files
authored
Update README.md
1 parent b68928c commit 56240fa

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Matrix JavaScript SDK
1010

1111
This is the [Matrix](https://matrix.org) Client-Server SDK for JavaScript and TypeScript. This SDK can be run in a
12-
browser or in Node.js or in Deno.
12+
browser or in Node.js.
1313

1414
The Matrix specification is constantly evolving - while this SDK aims for maximum backwards compatibility, it only
1515
guarantees that a feature will be supported for at least 4 spec releases. For example, if a feature the js-sdk supports
@@ -55,16 +55,7 @@ client.publicRooms(function (err, data) {
5555
See below for how to include libolm to enable end-to-end-encryption. Please check
5656
[the Node.js terminal app](examples/node) for a more complex example.
5757

58-
## In Deno
59-
60-
```javascript
61-
import * as sdk from "npm:matrix-js-sdk";
62-
const client = sdk.createClient({ baseUrl: "https://matrix.org" });
63-
await client.publicRooms(function (err, data) {
64-
console.log("Public Rooms: %s", JSON.stringify(data));
65-
});
66-
```
67-
you can run with `deno run --allow-net myclient.ts`
58+
You can also use the sdk with [Deno](https://deno.land/) (`import npm:matrix-js-sdk`) but its not officialy supported.
6859

6960
To start the client:
7061

0 commit comments

Comments
 (0)