0.3.2 • Published 3 years ago

upconfig v0.3.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

upconfig

Small tool for supplying prebuilt web applications with runtime configs

Usage

Building runtime config files

upconfig <config-file> [public-dir]

Consuming config files

import {upconfig} from 'upconfig'

const configs = await upconfig()

Examples

# multiple configs
upconfig path/to/config.js,path/to/config2.js dist

# reading all configs in a dir
upconfig path/to/config-dir dist

# using an environment variable to resolve a dir
upconfig $MY_CONFIG dist
0.1.0

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.0.3

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.0.2

3 years ago

0.3.2

3 years ago

0.2.3

3 years ago

0.3.1

3 years ago

0.2.2

3 years ago

0.1.3

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago