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

@hackcode/env-example-generator

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hackcode/env-example-generator

simple cli script to extract all environment variables being used in code

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

env example generator

Ever wanted to try out someone's project and kept figuring out all the environment variables that were needed ? Or you are just too lazy to document the same in your own project ? Worry not !

This is a simple npm package that will read through the entire codebase (don't worry, only javascript and typescript files) of your project, and create a .env.example file with all the environment configurations that are used in the code.

Usage

# install the package using
sudo npm i -g @hackcode/env-example-generator

# run the cli from the project root
generate-env

# An .env.example file would be created

Keywords

env

FAQs

Package last updated on 02 Oct 2020

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