tinyenv
A module to easily read a .env
file located at root and add it to your Deno.env
Usage
.env
potato=5
main.ts
import 'https://deno.land/x/tinyenv@v0.0.0/mod.ts'
console.log(Deno.env.get('potato'))
terminal
5
A module to easily read a .env
file located at root and add it to your Deno.env
potato=5
import 'https://deno.land/x/tinyenv@v0.0.0/mod.ts'
console.log(Deno.env.get('potato'))
5