{"id":16735989,"url":"https://github.com/babakfp/remark-frontmatter-yaml","last_synced_at":"2026-05-12T12:40:02.616Z","repository":{"id":228482552,"uuid":"774119381","full_name":"babakfp/remark-frontmatter-yaml","owner":"babakfp","description":"A remark plugin to parse the YAML frontmatter.","archived":false,"fork":false,"pushed_at":"2024-06-30T14:51:23.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-17T04:45:20.538Z","etag":null,"topics":["frontmatter","remark","yaml"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/remark-frontmatter-yaml","language":"TypeScript","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/babakfp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-19T01:15:37.000Z","updated_at":"2025-06-10T02:03:07.000Z","dependencies_parsed_at":"2024-03-19T02:10:32.428Z","dependency_job_id":"16b863c4-be01-4f7f-b124-9a7e74996ca4","html_url":"https://github.com/babakfp/remark-frontmatter-yaml","commit_stats":null,"previous_names":["babakfp/remark-frontmatter-yaml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/babakfp/remark-frontmatter-yaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babakfp%2Fremark-frontmatter-yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babakfp%2Fremark-frontmatter-yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babakfp%2Fremark-frontmatter-yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babakfp%2Fremark-frontmatter-yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babakfp","download_url":"https://codeload.github.com/babakfp/remark-frontmatter-yaml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babakfp%2Fremark-frontmatter-yaml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32940102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["frontmatter","remark","yaml"],"created_at":"2024-10-13T00:07:55.954Z","updated_at":"2026-05-12T12:40:02.598Z","avatar_url":"https://github.com/babakfp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remark Frontmatter YAML\n\nA [remark](https://github.com/remarkjs/remark) plugin to parse the [YAML](https://yaml.org) frontmatter.\n\n## What is this?\n\nThis package is a [[unified](https://github.com/unifiedjs/unified)] ([remark](https://github.com/remarkjs/remark)) plugin to parse YAML frontmatter.\n\n```yaml\nmessage: Hello, World!\n```\n\n## When should I use this?\n\nThis plugin is made to be used with [Remark Frontmatter](https://www.npmjs.com/package/remark-frontmatter).\n\n## Example\n\n```ts\nimport { unified } from \"unified\"\nimport remarkParse from \"remark-parse\"\nimport remarkStringify from \"remark-stringify\"\nimport remarkFrontmatter from \"remark-frontmatter\"\nimport remarkFrontmatterYaml from \"remark-frontmatter-yaml\"\n\nconst file = await unified()\n    .use(remarkParse)\n    .use(remarkStringify)\n    .use(remarkFrontmatter)\n    .use(remarkFrontmatterYaml)\n    .process(/* content */)\n\nconsole.log(file.data.frontmatter) // { message: \"Hello, World!\" }\n```\n\n## API\n\n### `options`\n\n#### `name`\n\n-   Type: `string`\n-   Default `\"frontmatter\"`\n\nThe name that is going to be used instead of `frontmatter` in `file.data.frontmatter`.\n\n#### `yaml`\n\n-   Type: `Parameters\u003ctypeof yaml.parse\u003e[2]`\n-   Default `undefined`\n\nOptions that are directly passed to the YAML parser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabakfp%2Fremark-frontmatter-yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabakfp%2Fremark-frontmatter-yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabakfp%2Fremark-frontmatter-yaml/lists"}