0.0.2 • Published 12 months ago

ts-config-file v0.0.2

Weekly downloads
-
License
(MIT or CC0 1.0)
Repository
github
Last release
12 months ago

ts-config-file

Easily load config files for your package that are written in TypeScript; retrieves and imports all exports from a .ts file.

installation

npm i ts-config-file

usage

import {importTsConfigFile} from 'ts-config-file';

export async function loadMyConfig() {
    return await importTsConfigFile('path/to/my/ts/file.ts');
}
0.0.2

12 months ago

0.0.1

12 months ago

0.0.0

12 months ago