use of middleware in express.js
- Built-in Middleware
- Third-Party Middleware
- Custom Middleware
- Error-Handling Middleware
git clone https://github.com/weiwei2694/express-middleware.git
cd express-middleware
npm install
yarn install
pnpm install
Command | Description |
---|---|
dev |
Starts a development instance of the app |
prettier |
Check and format code using Prettier |
prettier:fix |
Format code using Prettier (fix issues) |