env
¡Environment variables handler made easy!
Table of Contents
📖 About
The aim of this library is ease NodeJS environment variable handling, like env-cmd or dotenv, but with powerfull features and extensibility for adding custom providers (as plugins) for load, pull and push the variables from different stores.
⚡️ Quick start
npm install @calvear/env
🔔 Make sure that you have NodeJS 14+ installed on your computer.
📌 Requirements
First, download and install NodeJS. Version 14
or higher is required.
Validate installed versions of node and npm with:
> node -v
v16.14.2
> npm -v
8.3.0
You can initialize a new npm project using:
> npm init
⚙️ Commands & Options
env
[>_] Load your environment variables into a subcommand.
env [OPTION]
Option | Description | Type | Default | Required? |
---|---|---|---|---|
-t |
dem. | bool |
false |
No |
deploy
CLI command for deploy Docker containers with your project via Ansible to the remote server.
ts deploy [OPTION]
Option | Description | Type | Default | Required? |
---|---|---|---|---|
-k |
Prompt you to provide the remote user sudo password (a standard Ansible --ask-become-pass option). |
bool |
false |
No |
Built With
Getting Started
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Prerequisites
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
Installation
- Get a free API Key at https://example.com
- Clone the repo
git clone https://github.com/github_username/repo_name.git
- Install NPM packages
npm install
- Enter your API in
config.js
const API_KEY = 'ENTER YOUR API';
Usage
Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
For more examples, please refer to the Documentation
Roadmap
- [ ] Feature 1
- [ ] Feature 2
- [ ] Feature 3
- [ ] Nested Feature
See the open issues for a full list of proposed features (and known issues).
License
Distributed under the MIT License. See LICENSE.txt
for more information.