@spiderdisco/dotenv
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

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');

Readme

Keywords

Package Sidebar

Install

npm i @spiderdisco/dotenv

Weekly Downloads

1

Version

0.3.0

License

Unlicense

Unpacked Size

10.2 kB

Total Files

16

Last publish

Collaborators

  • jackhenderson