As part of my learning journey, I have completed and uploaded several exercises to this repository from an introductory Node course. The main purpose is to organize my notes and manage them more efficiently. Additionally, it serves as a place to showcase my work, crafted with dedication, in case it piques someone's interest.
- 01.GlobalThis
- index.js: Explanation of globalThis variable.
- 02.CommonJs
- addition.js: Export module using module.exports (old mode - Common JS).
- index.js: Import module using require (old mode - Common JS).
- 03.ES-Modules
- index.mjs: Import module using ES-Modules (new mode).
- operations.mjs: Export module using ES-Modules (new mode).
- 04.Native-Modules
- 1.Os
- os-info.js: Example of OS module
- 2.File-System
- 1.file-system(Sync).js: Example of fileSystem module. Synchronous example.
- 2.file-system(Async-callback).js: Example of fileSystem module. Asynchronous example.
- 3.file-system(Async-Promise).js: Example of fileSystem module. Asynchronous using Promises example.
- 4.file-system(Async-Await).js: Example of fileSystem module. Asynchronous using Async/Await example.
- 5.file-system(Async-Parallel).mjs: Example of fileSystem module. Asynchronous using Promises.all example.
- 3.Path
- path.js: Example of PATH module
- 4.Ls
- 1.ls.js: Example of fileSystem module reading files (bash ls).
- 2.advanced-ls.js: Example of aplication to read files and show some detailes. Picocolors module is used.
- 5.Argv
- process.js: Example of the process function
- 1.Os
- 05.Server
- free-port.js: Example of function to find an available port and export
- http.js: Example how create a server using HTTP Module.
