FunctionconfigOf

  • Get configuration of a Package from package.json, .${name}.json or .${name}.yml in process.cwd()

    (process.env.NODE_ENV will affect the result)

    Parameters

    • name: string

    Returns Record<string, any>