1.0.2 • Published 1 year ago

@thenerdyhick/ts-secrets v1.0.2

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
1 year 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.2

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago