{"id":16352088,"url":"https://github.com/bugthesystem/ymal","last_synced_at":"2025-06-20T08:07:16.950Z","repository":{"id":57403894,"uuid":"65237870","full_name":"bugthesystem/ymal","owner":"bugthesystem","description":"Little command line utility for modifiying YAML files","archived":false,"fork":false,"pushed_at":"2016-08-25T15:04:07.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T20:47:10.846Z","etag":null,"topics":[],"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/bugthesystem.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}},"created_at":"2016-08-08T20:43:21.000Z","updated_at":"2016-08-27T14:57:00.000Z","dependencies_parsed_at":"2022-09-15T14:40:33.792Z","dependency_job_id":null,"html_url":"https://github.com/bugthesystem/ymal","commit_stats":null,"previous_names":["ziyasal/ymal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bugthesystem/ymal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fymal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fymal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fymal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fymal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugthesystem","download_url":"https://codeload.github.com/bugthesystem/ymal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fymal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260546195,"owners_count":23025892,"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":[],"created_at":"2024-10-11T01:24:56.734Z","updated_at":"2025-06-20T08:07:11.920Z","avatar_url":"https://github.com/bugthesystem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"YMal\n============================\n\n_**YMal —** The command line utility for modifiying **YAML** files_\n\n[![Build Status](https://travis-ci.org/ziyasal/ymal.svg?branch=master)](https://travis-ci.org/ziyasal/ymal)\n[![Coverage Status](https://coveralls.io/repos/github/ziyasal/ymal/badge.svg?branch=master)](https://coveralls.io/github/ziyasal/ymal?branch=master)\n[![npm version](https://badge.fury.io/js/ymal.svg)](https://badge.fury.io/js/ymal)\n\n## Install\n```sh\nnpm i ymal -g\n```\n\n## Usage\n\n```\n  Usage: ymal [options] [command]\n\n  Commands:\n\n    help  Display help\n\n  Options:\n\n    -C, --classes-to-remove          List of classes to remove\n    -f, --file                       YAML file path\n    -h, --help                       Output usage information\n    -P, --pattern-to-remove-classes  Remove classes by pattern o_O!\n    -s, --set-value                  Set property value form: `property=value`\n    -v, --version                    Output the version number\n```\n\n## Sample\n\n**Sample file**\n```yaml\nname: Martin D'vloper\njob: Developer\nskill: Elite\nemployed: true\nclasses:\n  foods:\n    - Apple\n  'languages::list':\n    java: Elite\n    python: Elite\n    js: Elite\n  education: |\n    4 GCSEs\n    BSc in the Internet of Things\n  tst_asd: |\n    4 GCSEs\n    3 A-Levels\n    BSc in the Internet of Things\n```\n\n**Sample commands**\n```sh\n# Removes classes starts with `tst_` and \n# sets `classes.languages::list.python` property value to `Silver`\n\n# Short form\nymal -f sample.yaml  -s 'classes.languages::list.python=Silver' -P '^tst_'\n\n# Long form\nymal --file=sample.yaml  --set-value='classes.languages::list.python=Silver' \\\n                         --pattern-to-remove-classes='^tst_'\n```\n\n\n## Contribute\n\n[Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device\n\n## Credits\n- Licensed under MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugthesystem%2Fymal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugthesystem%2Fymal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugthesystem%2Fymal/lists"}