Nest.js is a progressive Node.js framework for building server-side applications. Under the hood, it uses the Express framework and can also be configured to use Fastify. It is built with and fully supports TypeScript (one of the reasons why I love this framework).

Like Angular, Nest provides us with pipes. Pipes are basically classes or functions that can take input data, transform it, and output the transformed data.

Pipes in Nest are annotated with the @injectable() decorator. Typically, in all applications, pipes can be used for the purposes of transformation and validation. In this article, I will be writing about the validation use case of a pipe.

#javascript #nodejs #nestjs #programming

Nest.js and the Custom Validation Pipe
27.50 GEEK