MATT CARLOTTA

fullstack web developer and commercial artist

Snackables

Details:

In Orbit
Snackables

Description:

Heavily inspired by dotenv and dotenv-expand, snackables is a simple to use zero-dependency  package module that automatically loads environment variables from a predefined ENV_LOAD variable. When it comes to .env file naming, snackables is unopinionated, so you can name them anything you'd like or you can follow the The Twelve-Factor App methodology. The package is completely written in Typescript, backed by 100% test coverage and is compiled in ES5 Javascript. The purpose of this package is to keep everything within one encapsulated loop for a server configuration (with smaller additional loops for value interpolation) and a small additional loop for a serverless configuration. In terms of performance, snackables is up to 50% faster than dotenv and dotenv-expand and up to 80% faster than NextJS' current implementation.

Tech Specs:

  • Cypress
  • Enzyme
  • Github Actions
  • Jest
  • NPM
  • Typescript

Snapshots:

Logo
snackables-logo-preview

©2020 matt carlotta