{"id":17867095,"url":"https://github.com/cdhunt/import-configdata","last_synced_at":"2026-04-21T10:02:32.205Z","repository":{"id":212373987,"uuid":"731341646","full_name":"cdhunt/Import-ConfigData","owner":"cdhunt","description":"Load configuration data from multiple file types. Yaml, Toml, PSD1, JSON.","archived":false,"fork":false,"pushed_at":"2024-01-05T22:26:43.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T22:27:32.914Z","etag":null,"topics":["configuration-files","devops-toolkit","powershell","toml","yaml"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdhunt.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"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":"2023-12-13T21:40:05.000Z","updated_at":"2024-02-02T14:02:04.000Z","dependencies_parsed_at":"2023-12-18T15:47:12.428Z","dependency_job_id":"e150eae7-8a33-4240-8c29-de265f0e9048","html_url":"https://github.com/cdhunt/Import-ConfigData","commit_stats":null,"previous_names":["cdhunt/import-configdata"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cdhunt/Import-ConfigData","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdhunt%2FImport-ConfigData","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdhunt%2FImport-ConfigData/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdhunt%2FImport-ConfigData/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdhunt%2FImport-ConfigData/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdhunt","download_url":"https://codeload.github.com/cdhunt/Import-ConfigData/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdhunt%2FImport-ConfigData/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267029419,"owners_count":24024199,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-files","devops-toolkit","powershell","toml","yaml"],"created_at":"2024-10-28T09:43:50.854Z","updated_at":"2026-04-21T10:02:32.103Z","avatar_url":"https://github.com/cdhunt.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Import-ConfigData\n\nLoad configuration data from multiple file types.\nThe returned _Hashtable_ should have the same structure regardless of the source format.\n\nCurrently supported types:\n\n- [PSD1](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_data_files?view=powershell-7.4)\n- [YAML](https://yaml.org/)\n- [JSON](https://www.json.org/)\n- [TOML](https://toml.io/)\n\n## CI Status\n\n![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/cdhunt/Import-ConfigData/powershell.yml?style=flat\u0026logo=github)\n[![Testspace pass ratio](https://img.shields.io/testspace/pass-ratio/cdhunt/cdhunt%3AImport-ConfigData/main)](https://cdhunt.testspace.com/projects/67973/spaces)\n[![PowerShell Gallery](https://img.shields.io/powershellgallery/v/Import-ConfigData.svg?color=%235391FE\u0026label=PowerShellGallery\u0026logo=powershell\u0026style=flat)](https://www.powershellgallery.com/packages/Import-ConfigData)\n\n![Build history](https://buildstats.info/github/chart/cdhunt/Import-ConfigData?branch=main)\n\n## Install\n\n`Install-Module -Name Import-ConfigData` or `Install-PSResource -Name Import-ConfigData`\n\n![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/Import-ConfigData?color=%235391FE\u0026style=flat)\n\n## Docs\n\n[Full Docs](docs)\n\n### Getting Started\n\nReturn an object representing the contents of a PowerShell Data File.\n\n```powershell\n#config.psd1\n@{\n    DriveName = \"data\"\n}\n```\n\n```powershell\n$config = Import-ConfigData -Path config.psd1\n$config.DriveName\ndata\n```\n\nThese config files all return the same PowerShell object.\n\n```toml\n#config.toml\nDriveName = \"data\"\n```\n\n```yaml\n#config.yml\nDriveName: data\n```\n\n```json\n{\n    \"DriveName\": \"data\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdhunt%2Fimport-configdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdhunt%2Fimport-configdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdhunt%2Fimport-configdata/lists"}