{"id":17897937,"url":"https://github.com/felixhaeberle/inlang-plugin-yaml","last_synced_at":"2026-05-15T13:36:17.767Z","repository":{"id":156161707,"uuid":"632831619","full_name":"felixhaeberle/inlang-plugin-yaml","owner":"felixhaeberle","description":"🧩 YAML plugin for using translations resources in the yaml format with inlang","archived":false,"fork":false,"pushed_at":"2023-11-21T23:10:04.000Z","size":134,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-11T21:47:06.050Z","etag":null,"topics":["i18n","inlang","localization","yaml"],"latest_commit_sha":null,"homepage":"https://github.com/felixhaeberle/inlang-plugin-yaml/blob/main/README.md","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/felixhaeberle.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-04-26T08:15:18.000Z","updated_at":"2024-02-26T20:07:16.000Z","dependencies_parsed_at":"2023-11-22T00:55:09.114Z","dependency_job_id":"ac79bbfb-6690-4cf1-bdfc-e2a89fdf68d0","html_url":"https://github.com/felixhaeberle/inlang-plugin-yaml","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/felixhaeberle/inlang-plugin-yaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixhaeberle%2Finlang-plugin-yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixhaeberle%2Finlang-plugin-yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixhaeberle%2Finlang-plugin-yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixhaeberle%2Finlang-plugin-yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felixhaeberle","download_url":"https://codeload.github.com/felixhaeberle/inlang-plugin-yaml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixhaeberle%2Finlang-plugin-yaml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33068786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["i18n","inlang","localization","yaml"],"created_at":"2024-10-28T15:20:20.088Z","updated_at":"2026-05-15T13:36:17.746Z","avatar_url":"https://github.com/felixhaeberle.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inlang-plugin-yaml\n\n## ⚠️ OUTDATED - PR TO UPDATE THIS PLUGIN WELCOME\n\nThis is a yaml plugin for using translations resources in the yaml format with [inlang](https://inlang.com/documentation/plugins).\n\n## Usage\n\nPlugins can be imported directly from GitHub releases via jsDelivr.\n\n```js\n// filename: inlang.config.js\n\nexport async function defineConfig(env) {\n  const { default: pluginYaml } = await env.$import(\n    \"https://cdn.jsdelivr.net/gh/felixhaeberle/inlang-plugin-yaml@{version}/dist/index.js\"\n  );\n\n  return {\n    // other properties...\n    plugins: [\n      pluginYaml({\n        pathPattern: \"./example/{language}.yml\",\n      }),\n    ],\n  };\n}\n```\n\nThe [dist](./dist/) directory is used to distribute the plugin directly via CDN like [jsDelivr](https://www.jsdelivr.com/). Using a CDN works because the inlang config uses dynamic imports to import plugins. Read the [jsDelivr documentation](https://www.jsdelivr.com/?docs=gh) on importing from GitHub.\n\nFor additional usage information, take a look at [example](./example/).\n\n## Developing\n\nRun the following commands in your terminal (node and npm must be installed):\n\n1. `npm install`\n2. `npm run dev`\n\n`npm run dev` will start the development environment which automatically compiles the [src/index.ts](./src/index.ts) files to JavaScript ([dist/index.js](dist/index.js)), runs tests defined in `*.test.ts` files and watches changes.\n\n## Publishing\n\n1. Run `npm run build` to generate a build.\n2. Commit the new build.\n3. Create a new release on GitHub that uses [Semantic Versioning (SemVer)](https://semver.org/). Take a look at [inlang-plugin-json](https://github.com/samuelstroschein/inlang-plugin-json/releases) for example releases.\n4. (Optional) Open a pull request to https://github.com/inlang/ecosystem\n\nNote:\n\n- tags are used without \"v\" at the beginning like: New Tag: 1.2.2\n- JSdeliver cached your plugin for `one week`. If you published a new Version and you want to debug something, you have to specify your version in the link like: ....standard-lint-rules@1.2.2/dist/index.js\"\n\n![](https://camo.githubusercontent.com/dcc07ce55f0484b41bb7ca0b55bd43475e866521d47f7ce1bf997715416de2e9/68747470733a2f2f63646e2e646973636f72646170702e636f6d2f6174746163686d656e74732f3930323533313033353830363433333238302f313036363736373833363039393338333332362f436c65616e53686f745f323032332d30312d32325f61745f31322e31342e303932782e706e67)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixhaeberle%2Finlang-plugin-yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelixhaeberle%2Finlang-plugin-yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixhaeberle%2Finlang-plugin-yaml/lists"}