{"id":20704448,"url":"https://github.com/immoweltgroup/find-config-up","last_synced_at":"2025-08-23T00:17:14.459Z","repository":{"id":26741561,"uuid":"109411177","full_name":"ImmoweltGroup/find-config-up","owner":"ImmoweltGroup","description":"Resolve your packages configuration from a .*rc or package.json file with a given property up the file-tree.","archived":false,"fork":false,"pushed_at":"2023-07-08T04:20:15.000Z","size":366,"stargazers_count":5,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T02:53:59.924Z","etag":null,"topics":["configuration","raw-config","rc","rc-files","resolve"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ImmoweltGroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-03T15:22:29.000Z","updated_at":"2024-05-02T01:28:12.000Z","dependencies_parsed_at":"2024-08-17T08:16:47.746Z","dependency_job_id":null,"html_url":"https://github.com/ImmoweltGroup/find-config-up","commit_stats":{"total_commits":228,"total_committers":5,"mean_commits":45.6,"dds":0.06140350877192979,"last_synced_commit":"891ffa4de0494a3a3d52a841c068a118f7e682e0"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImmoweltGroup%2Ffind-config-up","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImmoweltGroup%2Ffind-config-up/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImmoweltGroup%2Ffind-config-up/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImmoweltGroup%2Ffind-config-up/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImmoweltGroup","download_url":"https://codeload.github.com/ImmoweltGroup/find-config-up/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250350084,"owners_count":21416065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","raw-config","rc","rc-files","resolve"],"created_at":"2024-11-17T01:12:22.348Z","updated_at":"2025-04-23T01:23:50.286Z","avatar_url":"https://github.com/ImmoweltGroup.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# find-config-up\n\n[![Powered by Immowelt](https://img.shields.io/badge/powered%20by-immowelt-yellow.svg?colorB=ffb200)](https://stackshare.io/immowelt-group/)\n[![Build Status](https://travis-ci.org/ImmoweltGroup/find-config-up.svg?branch=master)](https://travis-ci.org/ImmoweltGroup/find-config-up)\n[![Dependency Status](https://david-dm.org/ImmoweltGroup/find-config-up.svg)](https://david-dm.org/ImmoweltGroup/find-config-up)\n[![devDependency Status](https://david-dm.org/ImmoweltGroup/find-config-up/dev-status.svg)](https://david-dm.org/ImmoweltGroup/find-config-up#info=devDependencies\u0026view=table)\n[![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovateapp.com/)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nResolve your packages configuration from a `.*rc` or `package.json` file with a given property up the file-tree.\n\n## Install\n\n```sh\n$ yarn add find-config-up\n```\n\n## API\n\n#### Getting started\n\n```js\nconst findConfigUp = require('find-config-up');\n\n(async function() {\n  //\n  // Tries to find a `.myfancyrc` up the tree and merges it with the defaults,\n  // if no file was found it falls back to resolving a `package.json` up the tree\n  // with a `my-fancy-package` property defined.\n  //\n  // If none of the above was successful, the defaults will be returned.\n  //\n  const config = await findConfigUp({\n    rawConfigFileName: '.myfancyrc',\n    packageJsonProperty: 'my-fancy-package',\n    defaults: {}\n  });\n\n  console.log(config);\n})()\n```\n\n#### Options\n\n##### `rawConfigFileName: string` (Optional)\n\nThe file name of your preffered `.rc` file, e.g. `.babelrc`, which should be resolved up the file-system tree.\n\n##### `packageJsonProperty: string`\n\nThe property name which should be resolved in the `package.json` files up the file-system tree.\n\n##### `defaults: Object`\n\nThe defaults which will be recursively merged with the results from the file-system.\n\n##### `cwd: string` (Optional)\n\nA custom current working directory, falls back to `process.cwd()`.\n\n## Contributing\n\nSee the `CONTRIBUTING.md` file at the root of the repository.\n\n## Licensing\n\nSee the `LICENSE` file at the root of the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimmoweltgroup%2Ffind-config-up","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimmoweltgroup%2Ffind-config-up","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimmoweltgroup%2Ffind-config-up/lists"}