{"id":20875925,"url":"https://github.com/saqqdy/load-toml","last_synced_at":"2025-05-12T15:31:57.110Z","repository":{"id":65698621,"uuid":"594919513","full_name":"saqqdy/load-toml","owner":"saqqdy","description":"Read and parse a .toml file","archived":false,"fork":false,"pushed_at":"2023-05-15T11:09:57.000Z","size":375,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-09T10:12:18.412Z","etag":null,"topics":["load-toml","toml","toml-parser","toml-stringify","toml-utils"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/saqqdy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["saqqdy"]}},"created_at":"2023-01-30T01:59:12.000Z","updated_at":"2023-04-03T14:55:12.000Z","dependencies_parsed_at":"2023-02-18T21:30:40.715Z","dependency_job_id":null,"html_url":"https://github.com/saqqdy/load-toml","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fload-toml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fload-toml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fload-toml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fload-toml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saqqdy","download_url":"https://codeload.github.com/saqqdy/load-toml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225141052,"owners_count":17427208,"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":["load-toml","toml","toml-parser","toml-stringify","toml-utils"],"created_at":"2024-11-18T06:49:08.966Z","updated_at":"2024-11-18T06:49:09.500Z","avatar_url":"https://github.com/saqqdy.png","language":"TypeScript","funding_links":["https://github.com/sponsors/saqqdy"],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"text-align: center;\" align=\"center\"\u003e\n\n# load-toml\n\nRead and parse a .toml file\n\n[![NPM version][npm-image]][npm-url]\n[![Codacy Badge][codacy-image]][codacy-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![npm download][download-image]][download-url]\n[![License][license-image]][license-url]\n\n[![Sonar][sonar-image]][sonar-url]\n\n\u003c/div\u003e\n\n\u003cdiv style=\"text-align: center; margin-bottom: 20px;\" align=\"center\"\u003e\n\n## **For API documentation, see: [API Docs](./docs/modules.md)**\n\n\u003c/div\u003e\n\n## Installing\n\n```bash\n# use pnpm\n$ pnpm install load-toml\n\n# use npm\n$ npm install load-toml --save\n\n# use yarn\n$ yarn add load-toml\n```\n\n## Usage\n\n1. use `load-toml` in async mode\n\n```js\nimport { loadToml } from 'load-toml'\n\nloadToml().then(path =\u003e {\n  console.log('result is: ', path) // { \"name\": \"saqqdy\" }\n})\n```\n\n2. use `load-toml` in sync mode\n\n```js\nimport { loadTomlSync } from 'load-toml'\n\nconsole.log('result is: ', loadTomlSync()) // { \"name\": \"saqqdy\" }\n```\n\n## Support \u0026 Issues\n\nPlease open an issue [here](https://github.com/saqqdy/load-toml/issues).\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/load-toml.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/load-toml\n[codacy-image]: https://app.codacy.com/project/badge/Grade/f70d4880e4ad4f40aa970eb9ee9d0696\n[codacy-url]: https://www.codacy.com/gh/saqqdy/load-toml/dashboard?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=saqqdy/load-toml\u0026utm_campaign=Badge_Grade\n[codecov-image]: https://img.shields.io/codecov/c/github/saqqdy/load-toml.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/saqqdy/load-toml?branch=master\n[download-image]: https://img.shields.io/npm/dm/load-toml.svg?style=flat-square\n[download-url]: https://npmjs.org/package/load-toml\n[license-image]: https://img.shields.io/badge/License-MIT-blue.svg\n[license-url]: LICENSE\n[sonar-image]: https://sonarcloud.io/api/project_badges/quality_gate?project=saqqdy_load-toml\n[sonar-url]: https://sonarcloud.io/dashboard?id=saqqdy_load-toml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaqqdy%2Fload-toml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaqqdy%2Fload-toml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaqqdy%2Fload-toml/lists"}