New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@takkar/validate-env

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@takkar/validate-env

Validate your env files

latest
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

validate-env

CLI tool to validate your env files.

Build Status codecov jest

alt text

Installation

  yarn add @takkar/validate-env -dev

Usage

  • Now create a sample env file with keys your think should be available in your env files. For eg. config/.env.sample .
name
age
city
country

Now, validate-env will validate your env file against these keys. Let's say we wanna validate .env.development.

  • Run the command.
validate-env --sample config/.env.sample --env .env.development

API

validate-env [options]

Options:
    --sample     Sample env file with keys you think should be available in all env files.
    --env  A env file to check

Keywords

env

FAQs

Package last updated on 21 Apr 2019

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