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

ngx-envconfig

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-envconfig - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

package.json
{
"name": "ngx-envconfig",
"version": "1.0.6",
"version": "1.0.7",
"description": "Configuration utility for Angular based on the environment variables ",

@@ -5,0 +5,0 @@ "repository": {

@@ -13,2 +13,9 @@ # ngx-envconfig

### Build Environments
- `ng build --env=dev` builds for development environment. This is the default if you don't specify env value.
- `ng build --env=staging` builds for staging environment.
- `ng build --env=prod` builds for production environment.
## ConfigModule

@@ -137,3 +144,3 @@

```javascript
// ./environments/environment.development.ts
// ./environments/environment.ts
export const environment = {

@@ -148,3 +155,3 @@ state: 'development'

import { NgModule } from '@angular/core';
import { ConfigModule, ConfigService } from './config/config.service';
import { ConfigModule, ConfigService } from 'ngx-envconfig';

@@ -168,8 +175,1 @@ import { environment } from '../src/environments/environment'; // <-- add this line

### Build Environments
- `ng build --env=dev` builds for development environment. This is the default if you don't specify env value.
- `ng build --env=staging` builds for staging environment.
- `ng build --env=prod` builds for production environment.
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