0.0.4 • Published 1 year ago
@fethcat/config v0.0.4
Config
Usage
Install package:
pnpm add @fethcat/config
Use module:
import { ConfigService } from '@fethcat/config'
async function fetch() {
return 'list promise'
}
export const list = new ConfigService<string>(9000, fetch)
void list.getConfig()