Deno, an alternative JavaScript runtime to Node.js, has been upgraded with capabilities including a WebSocket API and an early version of an automatic restart capability.
Deno 1.4, released September 13, is being called the largest feature release yet. Highlights include a web standard WebSocket API, for communicating with remote servers via the WebSocket protocol, and an integrated file watcher that can be used to restart any script when its dependencies change. To use the file watcher, developers run a script as they normally would but add the
1 | --watch |
flag. The
1 | unstable |
flag also must be used because this feature is not yet stable.
0 Comments