Socket
Book a DemoInstallSign in
Socket

@katomaran/nest-utilities

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@katomaran/nest-utilities

`@katomaran/nest-utilities` is a utility package for NestJS applications, including a `ParseQueryInterceptor` to help handle query parameters such as pagination, search, and server timestamps.

1.0.0
unpublished
latest
npmnpm
Version published
Maintainers
0
Created
Source

@katomaran/nest-utilities

@katomaran/nest-utilities is a utility package for NestJS applications, including a ParseQueryInterceptor to help handle query parameters such as pagination, search, and server timestamps.

Installation

npm install @katomaran/nest-utilities

Usage Import the ParseQueryInterceptor in your controller or globally in your application.

import { ParseQueryInterceptor } from '@katomaran/nest-utilities';

Apply the interceptor to your controllers.

@Controller('example')
@UseInterceptors(ParseQueryInterceptor)
export class ExampleController {
  // Your controller methods
}

Functions ParseQueryInterceptor page: Page number for pagination (default: 1). limit: Items per page (default: 10). skip: Calculated skip value for pagination. search: Escaped special characters in search terms. serverTime: Current server time for each request. arduino

This setup will give you a CI/CD pipeline that runs on the release branch and automatically publishes the package to npm.

FAQs

Package last updated on 15 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.