Sign inSign up

neko3tech/bun

By neko3tech

Updated about 4 years ago

This is BunJS installed simple image.

Image
1

64

neko3tech/bun repository overview

About this image

This is bunJS installed simple image.

show:https://bun.sh

How do you use it

run usage

# docker run -it neko3tech/bun:0.1.11-debian-bullseye
-----
root@xxx:/# bun -v
0.1.11

root@xxx:/# cat << EOF >> fib.js
const fib = (n) => {
  if (n < 2) { return n; }
  return fib(n - 1) + fib(n - 2);
};
console.log(fib(43));
EOF
root@xxx:/# time bun fib.js
433494437

real    0m13.382s
user    0m13.360s
sys     0m0.029s
Is this fast?

If you have a NodeJs runtime environment, try running the same script, you will see the difference.

What's after this

The rest of you can enjoy bunJs as you like!!

Tag summary

Content type

Image

Digest

sha256:abce2ba25

Size

62.4 MB

Last updated

about 4 years ago

docker pull neko3tech/bun:0.1.11-debian-bullseye