I want to write code such that I can easily create Notion pages.
And It seems to do that, I have to use Javascript, and Node.
It says Node.js is a runtime environment, but i searched what runtime env are, its mainly the hardware and software infrastructure, and some examples are physical machine, docker or VM.
So I wonder if node.js is a VM, docker or what.
And Node.js uses V8 Javascript engine, which Google chrome also uses, and it says its a kind of compiler, it converts Code to binary language before processing, which sounds cool.
And apparently its quite a big deal, I think it is able to do that in real time and be fast about it
I got some gist of how multi thread programming works, and Node.js is using it
So, like in traditional code, it executes line by line. But in Node.js types of env, it also executes line by line, but when it is calling a external request, like an API call, it just allows it to fetch back the results in whatever time it wants, and continue with the execution of the rest of the code, and like store in some place the results of the requests. it uses single thread of single process.
Learned a good deal about how to make notion pages, and add content to that.
.js extension and .mjs extension, and to use require function.