0.0.3 • Published 2 years ago

@calvear/demo-env v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

📖 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]
OptionDescriptionTypeDefaultRequired?
-tdem.boolfalseNo

deploy

CLI command for deploy Docker containers with your project via Ansible to the remote server.

ts deploy [OPTION]
OptionDescriptionTypeDefaultRequired?
-kPrompt you to provide the remote user sudo password (a standard Ansible --ask-become-pass option).boolfalseNo

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

  1. Get a free API Key at https://example.com
  2. Clone the repo
    git clone https://github.com/github_username/repo_name.git
  3. Install NPM packages
    npm install
  4. 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.