1.0.1 • Published 5 months ago

@thenerdyhick/ts-secrets v1.0.1

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
5 months ago

Secret Loading Lib

Reads secrets from the environment or the file system (using docker secrets path conventions)

Usage

import { IntSecret } from '@thenerdyhick/secrets';

export const config = {
    port: (new IntSecret({ name: 'PORT', default: null, required: true })).load()
}
1.0.1

5 months ago

1.0.0

5 months ago