{"id":18498907,"url":"https://github.com/instance-id/json-to-frontmatter-yaml","last_synced_at":"2025-05-14T05:34:30.949Z","repository":{"id":98392442,"uuid":"256611393","full_name":"instance-id/json-to-frontmatter-yaml","owner":"instance-id","description":"A small json to frontmatter yaml script using the grey-matter library","archived":false,"fork":false,"pushed_at":"2020-04-17T21:41:21.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T03:13:23.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/instance-id.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":"2020-04-17T21:14:47.000Z","updated_at":"2020-08-14T06:15:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"99fcfee9-564d-45b6-8b92-c65ed897d89b","html_url":"https://github.com/instance-id/json-to-frontmatter-yaml","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/instance-id%2Fjson-to-frontmatter-yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance-id%2Fjson-to-frontmatter-yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance-id%2Fjson-to-frontmatter-yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance-id%2Fjson-to-frontmatter-yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/instance-id","download_url":"https://codeload.github.com/instance-id/json-to-frontmatter-yaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254076990,"owners_count":22010635,"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-11-06T13:42:58.203Z","updated_at":"2025-05-14T05:34:30.898Z","avatar_url":"https://github.com/instance-id.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-to-frontmatter-yaml\nA small json to frontmatter yaml script using the grey-matter library (Used with the Hugo static website generator, but if you want to use it for other purposes, I am sure you can)\n\n\nUse by adjusting the config section at the top of the script \n\n\n### Prerequisites\n\n- node \u0026 npm\n- grey-matter\n\n### Installing \u0026 Running\n\n- Run `npm install` to install dependencies\n- Run `node convert.js` to convert files\n\n#### Commands\n\nThere is 1 available command:\n\n- `node convert.js` (Converts the file and creates a second index file named index.md.md that you can rename yourself)\n- `node convert.js replace` (Replace original index.md with new and rename original as index_old.md .)\n\n\nFlags:\n- `-c FILE.json` or `--configFile FILE.json` flag to override default config (check config-example.json)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstance-id%2Fjson-to-frontmatter-yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstance-id%2Fjson-to-frontmatter-yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstance-id%2Fjson-to-frontmatter-yaml/lists"}