Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 16 days ago
JSON representation

Own Modules Example as Node.js Exercise

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).)

[![YouTube - 10 Things I Regret About Node.js - Ryan Dahl - JSConf EU](http://img.youtube.com/vi/M3BM9TB-8yA/0.jpg)](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)