cosmiconfig

Find and load configuration from a package.json property, rc file, TypeScript module, and more!

@proload/core

Searches for and loads your tool's JavaScript configuration files with full support for CJS, ESM, TypeScript and more.