0.3.0 • Published 6 years ago

@spiderdisco/dotenv v0.3.0

Weekly downloads
-
License
Unlicense
Repository
gitlab
Last release
6 years ago

dotenv

Simple .env file parser for node.

Features

  • Sets node's environment variables from .env file.
  • Provides a dictionary containing variables read from the .env file.
  • Ignores # commented lines.
  • Ignores export statements, so the same .env file can be used in the shell or node.

Usage

const dotenv = require('@spiderdisco/dotenv');
dotenv('path/to/.env');
0.3.0

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago