Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.js, JS runtime basics #40

Open
sophryu99 opened this issue Mar 2, 2022 · 1 comment
Open

Node.js, JS runtime basics #40

sophryu99 opened this issue Mar 2, 2022 · 1 comment

Comments

@sophryu99
Copy link
Owner

What is Node.js?

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
It is an engine that allows you to run Javascript scripts outside of a browser.
With the ability to run JavaScript locally on our machine and the contribution of a rich number of packages from a large community, the possibilities for JavaScript are endless.

What is NPM?

  • Node package manager: is a place where you can find and download node packages.
@sophryu99
Copy link
Owner Author

Why Node.js?

  • Asynchronous and Non-blocking I/O: Node.js is built on an event-driven, non-blocking I/O model, which makes it well-suited for handling high levels of concurrent requests and real-time applications. This architecture allows Node.js to handle many connections simultaneously without blocking other operations, making it highly scalable and efficient.
  • Extensive Package Ecosystem: Node.js has the Node Package Manager (npm), which is the largest package registry for any programming language. npm provides access to thousands of open-source libraries and modules that can be easily integrated into your projects, saving development time and effort.
  • Performance and Scalability: Node.js is known for its excellent performance due to its lightweight and efficient architecture. It can handle a large number of concurrent connections with low memory usage, making it well-suited for building highly scalable applications.
  • Microservices Architecture: Node.js is often used in microservices architectures, where applications are built as a collection of small, independent services. The lightweight and modular nature of Node.js make it ideal for building and deploying microservices, allowing for flexibility, scalability, and easy maintenance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant