Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@golevelup/nestjs-common

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@golevelup/nestjs-common

Common module and utility building blocks for badass NestJS applications

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
111K
increased by4.24%
Maintainers
3
Weekly downloads
 
Created
Source

@golevelup/nestjs-common

version downloads license

Utility functions and low level reusable modules that provide building blocks for the @levelup-nestjs and @nestjs ecosystem.

Inject Decorator Factory (makeInjectableDecorator)

Creates a decorator that can be used as a convenience to inject a specific token

Instead of using @Inject(SOME_THING_TOKEN) this can be used to create a new named Decorator such as @InjectSomeThing() which will hide the token details from users making APIs easier to consume

Mixins

The mixin pattern is particularly useful with NestJS components like Interceptors as a mechanism to provide both configuration while still allowing the component to participate with Nest's Dependency Injection.

Contribute

Contributions welcome! Read the contribution guidelines first.

License

MIT License

Keywords

FAQs

Package last updated on 06 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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc