0.0.8 • Published 6 months ago

@vulppi/env v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Vulppi ENV

A simple library to parse environment files.

Usage

import { parseEnvToList, parseListToEnv } from '@vulppi/env'

const env = parseEnvToList(`
# This is a comment
KEY=VALUE
ANOTHER_KEY="Another value"
# This is another comment
`)

console.log(env)

const envString = parseListToEnv(env)

console.log(envString)

License

MIT

0.0.8

6 months ago

0.0.7

6 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

1 year ago