{"library":"config-file-ts","type":"library","category":null,"description":"config-file-ts is a JavaScript/TypeScript library that enables developers to utilize TypeScript directly for application configuration files, moving beyond the limitations of JSON or YAML. It introduces greater flexibility by supporting comments, unquoted object keys, and trailing array commas, while also allowing for programmatic logic within configs—such as variable sharing or the use of utility functions. A significant advantage is the integration with TypeScript's type system, which provides compile-time error checking and enhanced IDE support for ensuring configuration correctness. The library includes a caching mechanism for compiled TypeScript output to maintain fast parsing performance with minimal runtime overhead. The latest stable version appears to be 0.1.4, with a 0.2.8-rc1 pre-release available. Release cadence is not explicitly defined but appears infrequent based on the provided history.","language":"javascript","status":"active","version":"0.2.8-rc1","tags":["javascript","typescript","config","configuration","conf","cli","cached","command","cmd"],"last_verified":"Wed May 27","install":[{"cmd":"npm install config-file-ts","imports":["import { loadTsConfig } from 'config-file-ts';","const { loadTsConfig } = require('config-file-ts');","export default { /* config object */ };"]},{"cmd":"yarn add config-file-ts","imports":[]},{"cmd":"pnpm add config-file-ts","imports":[]}],"homepage":null,"github":"https://github.com/mighdoll/config-file-ts","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/config-file-ts","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/config-file-ts/compatibility"}}