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

@settlemint/module-common-types

Package Overview
Dependencies
Maintainers
12
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@settlemint/module-common-types

BPaaS - Common Types module

  • 3.23.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
12
Weekly downloads
 
Created
Source

Strict Config

The core NestJS ConfigModule exposes a get function that always returns a | undefined which is a pain throughout the code. This module exposes a StrictConfigService where the get function will fail if the config variable is not there, and exposes a getOptional to get optional values.

Note that the entire configuration model is in this module, which has the beneft that all application using this configuration use the same configuration and environment variables. This provides a unified development experience.

Usage

Symlink the base .env from this package in your application of module

ln -sf ../module-strict-config/.env .env

FAQs

Package last updated on 04 Jan 2021

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