UNPKG

@strattadb/environment

Version:

Environment variable configuration for Node.js made easy.

47 lines (44 loc) 657 B
import { array, boolean, email, float, integer, ipAddress, negativeInteger, nonNegativeInteger, nonPositiveInteger, Parser, port, positiveInteger, string, url, whitelist, regex, } from './parsers'; const parsers = { array, boolean, email, float, integer, url, ipAddress, negativeInteger, nonNegativeInteger, nonPositiveInteger, port, positiveInteger, regex, string, whitelist, }; export { Parser, parsers }; export { makeEnv, Env, Schema, SchemaEntry, SchemaEntryRequiredInfo, } from './environment'; export { default as EnvironmentVariableError } from './EnvironmentVariableError';