- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Mayank Agarwal has Published 410 Articles
Mayank Agarwal
219 Views
NodeJS – spin modifier is an inbuilt function that is used to spin the hue of an image to a given amount from -360° to 360°. We can spin the color from 0 to 360, but it will not perform any function, as it sets the hue back to what ... Read More
Mayank Agarwal
484 Views
This NodeJS – Blit() is an inbuilt function that is used to combine two bitmap patterns. It can also be used for combining several bitmaps into one using a boolean function.Syntaxblit(src, x, y, [srcx, srcy, srcw, srch])Definition of blit() paramterssrc – It will store the source image for blit.x – It ... Read More
Mayank Agarwal
1K+ Views
NodeJS – Blur() is an inbuilt function that is used to blur images. The effect produced by JIMP blur() will be similar to that of the Gaussian blur. It blurs based on the pixels input.Syntaxblur(r, cb)Definition of blur() paramtersr – It takes the input for blur and blurs based upon ... Read More
Mayank Agarwal
463 Views
Node is an open source project that is used to create dynamic web applications. The URLSearchParams API is an interface. It defines different utility that is required to work with the query string of the URL.In this article, we will discuss the four different constructors of URLSearchParams that can be ... Read More
Mayank Agarwal
2K+ Views
Sequelize follows a promise-based Node.js ORM structure for different databases like – Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. Sequelize have multiple features which makes it easy to implement and use.Some of the main features of sequelize are as follows −Sequelize is a third-party package.It uses an Object-Relational Mapping ... Read More
Mayank Agarwal
469 Views
In this article, we will see how we can insert data into a table using NodeJS. Read the complete article to understand how we can save data into the database table.Before proceeding, please check the following steps are already executed −mkdir mysql-testcd mysql-testnpm init -ynpm install mysqlThe above steps are ... Read More
Mayank Agarwal
698 Views
JIMP, also known as JavaScript Image Manipulation Program, is an image processing library for Node written in JavaScript with no other dependency. It allows the user to easily manipulate the and transform the images into any required shape, format, dimnesion or style. It can also be used for optimizing images ... Read More
Mayank Agarwal
239 Views
Introduction to Async ensureSymlink()This method will ensure whether the symlink exists or not. It will create the directory structure if it does not exist.SyntaxcreateSymlink(srcPath, destPah[, type] [, callback])ParameterssrcPath – The source path of the file.destPath – Destination path of the file.type – This parameter is only available on Windows and ... Read More
Mayank Agarwal
248 Views
This method is used to ensure that a file exists at the given location by using a sync process. The response will only be given after the processing is completed. If the files that is ensured to be created is not present or the respective directories are not present, these ... Read More
Mayank Agarwal
142 Views
Introduction to Async ensureFile()This method is used to ensure that a file exists at the given location. If the files that is ensured to be created is not present or the respective directories are not present, these directories and files are created. If the file already exists, it is not ... Read More
To Continue Learning Please Login
Login with Google