fethca / config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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()

About


Languages

Language:TypeScript 100.0%