If in Visual Studio Code you want to add fixed string to start and end of
Search This Blog
2023/04/29
How to add text at start and end of every line in Visual Studio Code
How to remove accidently added directory commited to github
I accidently commited dist directory in typescript code to github
2023/04/28
How to use Sequelize with express in typescript project
create your project using following generator
2023/04/27
Lambda function vs traditional function
Promise.all ,Promise.any,Promise.race & Promise.allSettled in Node.js
Promise.any:
Node.js :Optimization of Application
Benefits of Node.js over other Programming Languages
Node.js has several advantages over other programming languages, some of which include:
Asynchronous programming: Node.js uses an event-driven, non-blocking I/O model that allows it to handle a large number of concurrent connections with minimal overhead. This makes it highly scalable and efficient compared to other languages that use a blocking I/O model.
Cross-platform: Node.js is a cross-platform language, which means it can run on various operating systems such as Windows, Linux, and macOS. This makes it highly versatile and flexible for developers who need to deploy their applications on different platforms.
Large and active community: Node.js has a large and active community of developers who contribute to its growth and development. This means that developers can easily find resources and support to help them with their projects.
Easy to learn: Node.js is based on JavaScript, which is a popular and widely used language. This means that developers who already know JavaScript can quickly learn Node.js without having to learn a new language or framework.
Large ecosystem of packages: Node.js has a large and growing ecosystem of packages and modules available through its package manager, npm. This makes it easy for developers to find and use third-party libraries and modules to build their applications.
Fast development time: Node.js has a fast development time due to its simple and easy-to-use syntax. This means that developers can quickly develop and deploy applications, which is especially useful in today's fast-paced development environment.
Overall, Node.js offers several advantages over other programming languages, including asynchronous programming, cross-platform compatibility, a large and active community, ease of learning, a large ecosystem of packages, and fast development time.
2023/04/26
Read User Input in node.js
var readline = require('readline')
print pyramid of number in node.js
var n = 9;
2023/04/25
Common HTTP status code and meaning
HTTP (Hypertext Transfer Protocol) status codes are three-digit numbers returned by a