{"id":13342836,"url":"https://github.com/szkiba/xk6-yaml","last_synced_at":"2025-03-25T12:33:16.340Z","repository":{"id":47494637,"uuid":"366716085","full_name":"szkiba/xk6-yaml","owner":"szkiba","description":"A k6 extension enables to encode and decode YAML values","archived":false,"fork":false,"pushed_at":"2025-02-18T14:41:10.000Z","size":61,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T08:44:59.573Z","etag":null,"topics":["xk6","xk6-javascript-k6-x-yaml"],"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/szkiba.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-12T12:58:04.000Z","updated_at":"2025-02-13T18:54:13.000Z","dependencies_parsed_at":"2024-06-10T12:03:49.249Z","dependency_job_id":"840a0be6-9903-4e0c-af73-607c9c433f1e","html_url":"https://github.com/szkiba/xk6-yaml","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szkiba%2Fxk6-yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szkiba%2Fxk6-yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szkiba%2Fxk6-yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szkiba%2Fxk6-yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szkiba","download_url":"https://codeload.github.com/szkiba/xk6-yaml/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245463052,"owners_count":20619602,"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":["xk6","xk6-javascript-k6-x-yaml"],"created_at":"2024-07-29T19:30:06.034Z","updated_at":"2025-03-25T12:33:15.783Z","avatar_url":"https://github.com/szkiba.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xk6-yaml\n\nA k6 extension enables k6 tests to comfortably encode and decode YAML values.\n\nThe underlying implementation is https://github.com/go-yaml/yaml\n\nBuilt for [k6](https://go.k6.io/k6) using [xk6](https://github.com/grafana/xk6).\n\n## Usage\n\nImport an entire module's contents:\n```JavaScript\nimport * as YAML from \"k6/x/yaml\";\n```\n\nImport a single export from a module:\n```JavaScript\nimport { parse } from \"k6/x/yaml\";\n```\n\n## API\n\nFunctions:\n\n- [parse](docs/README.md#parse)\n- [stringify](docs/README.md#stringify)\n\nFor complete API documentation click [here](docs/README.md)!\n\n## Build\n\nTo build a `k6` binary with this extension, first ensure you have the prerequisites:\n\n- [Go toolchain](https://go101.org/article/go-toolchain.html)\n- Git\n\nThen:\n\n1. Install `xk6`:\n  ```bash\n  $ go install go.k6.io/xk6/cmd/xk6@latest\n  ```\n\n2. Build the binary:\n  ```bash\n  $ xk6 build --with github.com/szkiba/xk6-yaml@latest\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszkiba%2Fxk6-yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszkiba%2Fxk6-yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszkiba%2Fxk6-yaml/lists"}