{"id":13659425,"url":"https://github.com/chrisdmacrae/front-matter-manipulator","last_synced_at":"2026-01-23T01:10:07.827Z","repository":{"id":50736010,"uuid":"116390193","full_name":"chrisdmacrae/front-matter-manipulator","owner":"chrisdmacrae","description":"A utility for parsing and manipulating documents with Front Matter","archived":false,"fork":false,"pushed_at":"2022-09-01T13:10:43.000Z","size":210,"stargazers_count":24,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-10T13:36:30.771Z","etag":null,"topics":["cli","front-matter","node","nodejs","npm","npm-package","static-site","static-site-generator"],"latest_commit_sha":null,"homepage":"https://chrisdmacrae.github.io/front-matter-manipulator","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisdmacrae.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-05T13:54:32.000Z","updated_at":"2023-08-27T19:05:06.000Z","dependencies_parsed_at":"2022-08-12T22:10:28.466Z","dependency_job_id":null,"html_url":"https://github.com/chrisdmacrae/front-matter-manipulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdmacrae%2Ffront-matter-manipulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdmacrae%2Ffront-matter-manipulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdmacrae%2Ffront-matter-manipulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdmacrae%2Ffront-matter-manipulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisdmacrae","download_url":"https://codeload.github.com/chrisdmacrae/front-matter-manipulator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250643725,"owners_count":21464226,"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":["cli","front-matter","node","nodejs","npm","npm-package","static-site","static-site-generator"],"created_at":"2024-08-02T05:01:08.565Z","updated_at":"2026-01-23T01:10:07.798Z","avatar_url":"https://github.com/chrisdmacrae.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Front Matter Manipulator\n\u003e A utility for parsing and manipulating documents with Front Matter. Get the fields, values for any collection of documents. Bulk update, delete, or rename fields.\n\n## Getting Started\nThis utility can be used as a Command Line Interface, or as an import in your scripts.\n\nIt has two primary uses:\n\n- Parsing one or many files to discover the content model\n- Updating the content model of one or many files\n\nThis is done through the following commands:\n\n- `fields`: finds all fields in specified files\n- `values`: finds all values for specified fields in specified files\n- `update`: update the value for specified field in specified files\n- `rename`: update the name of specified field in specified files\n- `drop`: delete the specified fields from the specified files\n- `convert`: convert any field to an array\n\n## Installation\n\n### Install CLI\nRun the following command:\n```\nnpm install -g front-matter-manipulator\n```\n\n### Install in current directory for use in scripts\n```\nnpm install front-matter-manipulator --save-dev\n```\n\n## CLI (Command Line Interface)\nFront Matter Manipulator can be used on the command line to perform operations on fields.\n\nSee the documentation for each action:\n\n- [Fields](https://chrisdmacrae.github.io/front-matter-manipulator/cli#fields)\n- [Values](https://chrisdmacrae.github.io/front-matter-manipulator/cli#values)\n- [Update](https://chrisdmacrae.github.io/front-matter-manipulator/cli#update)\n- [Rename](https://chrisdmacrae.github.io/front-matter-manipulator/cli#rename)\n- [Drop](https://chrisdmacrae.github.io/front-matter-manipulator/cli#drop)\n- [Convert](https://chrisdmacrae.github.io/front-matter-manipulator/cli#convert)\n\n## Usage in node scripts/packages\nFront Matter Manipulator can be used on in javascript files to perform advanced parsing or manipulation of fields.\n\nSee the documentation for each action:\n\n- [Fields](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#fields)\n- [Values](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#values)\n- [Update](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#update)\n- [Rename](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#rename)\n- [Drop](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#drop)\n- [Convert](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#convert)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisdmacrae%2Ffront-matter-manipulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisdmacrae%2Ffront-matter-manipulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisdmacrae%2Ffront-matter-manipulator/lists"}