npm install --save env-kit
import envKit from 'env-kit';
const envKit = require('env-kit');
Pick environment variables
const { API_URL, API_KEY } = envKit.pick(['API_URL', 'API_KEY']);
Get all environment variables
const allEnvVars = envKit.get();
Get one environment variable
const API_URL = envKit.get('API_URL');
const API_KEY = envKit.get('API_KEY');