UNPKG

@beesley/ts-env

Version:

An environment variable reader for TypeScript

26 lines (23 loc) 668 B
import string from './string.js'; import stringOrThrow from './string-or-throw.js'; import boolean from './boolean.js'; import booleanOrThrow from './boolean-or-throw.js'; import number from './number.js'; import numberOrThrow from './number-or-throw.js'; import stringArray from './string-array.js'; import stringArrayOrThrow from './string-array-or-throw.js'; import numberArray from './number-array.js'; import numberArrayOrThrow from './number-array-or-throw.js'; const tsEnv = { string, stringOrThrow, boolean, booleanOrThrow, number, numberOrThrow, stringArray, stringArrayOrThrow, numberArray, numberArrayOrThrow, }; export default tsEnv;