https://github.com/buzzcosm/ztm-course-exercises-nodejs-modules-example
Own Modules Example as Node.js Exercise
https://github.com/buzzcosm/ztm-course-exercises-nodejs-modules-example
ecmascript javascript module nodejs require ztm ztm-course-exercises
Last synced: 11 months ago
JSON representation
Own Modules Example as Node.js Exercise
- Host: GitHub
- URL: https://github.com/buzzcosm/ztm-course-exercises-nodejs-modules-example
- Owner: buzzcosm
- Created: 2024-10-30T19:46:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-30T22:29:59.000Z (about 1 year ago)
- Last Synced: 2025-01-23T14:41:30.815Z (about 1 year ago)
- Topics: ecmascript, javascript, module, nodejs, require, ztm, ztm-course-exercises
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Own Modules Example
`ZTM` Udemy Course - [Complete NodeJS Developer](https://www.udemy.com/course/complete-nodejs-developer-zero-to-mastery).
## Prerequisite
- `Node.js` is installed ⚡
- Prefered Code-Editor/IDE is installed (For example: `vscode`) ✍
- Terminal is ready 😎
## Description
Showcase for own `https` module.
> Run (console)
```
node js-module/https.js
```
> Result (console)
```
sending encrypted data to https://google.com
decrypted data
```
### [Ryan Dahl](https://en.wikipedia.org/wiki/Ryan_Dahl#:~:text=Ryan%20Dahl%20(born%201981)%20is,the%20Deno%20JavaScript%2FTypeScript%20runtime.&text=Dahl%20(2010%3B%20age%2029).)
[](http://www.youtube.com/watch?v=M3BM9TB-8yA)
## Useful references
- [Node.js Docs - Modules: CommonJS modules](https://nodejs.org/api/modules.html#modules_modules_commonjs_modules)
- [Mozilla - import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)
- [Mozilla - export](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export)
- [Node.js Docs - How The require Function Finds Modules](https://nodejs.org/api/modules.html#modules_all_together)
- [Stack Overflow - How can I embed a YouTube video on GitHub wiki pages?](https://stackoverflow.com/questions/11804820/how-can-i-embed-a-youtube-video-on-github-wiki-pages)
- [GitHub - YouTube Videos](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#youtube-videos)