The 36th Munich Node.js User Group Meetup (First virtual meetup) was last month and Deno 🦕 was also mentioned. Today version 1.0 has been released.
I wrote a docker file and pushed it also to docker hub:
FROM ubuntu:20.04 RUN apt-get update && apt-get install -y \ curl unzip \ && apt-get clean -y \ && rm -rf /var/lib/apt/lists/* RUN curl -fsSL https://deno.land/x/install/install.sh | sh RUN mkdir /deno VOLUME [ "/deno" ] WORKDIR /done EXPOSE 8080 ENTRYPOINT [ "/root/.deno/bin/deno" ]
Build the docker file as follows:
docker build -t choas/deno .
Here are a few ways to run Deno and here are more:
docker run choas/deno --version
docker run -it -v $PWD:/deno choas/deno run hello.ts
docker run choas/deno eval "console.log(6*7)"
docker run -p 8080:8080 choas/deno run --allow-net --allow-read https://deno.land/std/examples/chat/server.ts
The Docker image is a good start, if you would like to try Deno. But you can also install it locally. The next step is the manual or What’s Deno, and how is it different from Node.js?
Will it be a bye bye Node.js?