{"id":21420554,"url":"https://github.com/maxhoffmann/frontmd2json","last_synced_at":"2025-10-18T06:44:27.421Z","repository":{"id":23956279,"uuid":"27338304","full_name":"maxhoffmann/frontmd2json","owner":"maxhoffmann","description":"convert markdown files with frontmatter to json","archived":false,"fork":false,"pushed_at":"2014-12-01T09:06:08.000Z","size":212,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T17:17:03.189Z","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/maxhoffmann.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":"2014-11-30T14:25:15.000Z","updated_at":"2022-07-05T04:10:19.000Z","dependencies_parsed_at":"2022-08-26T20:24:47.381Z","dependency_job_id":null,"html_url":"https://github.com/maxhoffmann/frontmd2json","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/maxhoffmann%2Ffrontmd2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxhoffmann%2Ffrontmd2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxhoffmann%2Ffrontmd2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxhoffmann%2Ffrontmd2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxhoffmann","download_url":"https://codeload.github.com/maxhoffmann/frontmd2json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926066,"owners_count":20369910,"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-22T20:18:11.886Z","updated_at":"2025-10-18T06:44:27.358Z","avatar_url":"https://github.com/maxhoffmann.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"frontmd2json\n============\n\nconvert markdown files with frontmatter to json\n\nInstallation\n------------\n\n```\nnpm install frontmd2json -g\n```\n\nUsage\n-----\n\n```\nfrontmd2json **/*.markdown\n```\n\nJavaScript\n----------\n\n```js\nvar frontmd2json = require('frontmd2json')\n\nvar json = frontmd2json(['**/*.markdown', '**/*.md'])\n```\n\nExample\n-------\n\n__Input__\n```markdown\n---\ndate: 2014-11-02\n---\n# Headline\n\nParagraph\n```\n\n__Output__\n```json\n[\n  {\n    \"meta\": {\n      \"date\": \"2014-11-02T00:00:00.000Z\",\n      \"_markdown\": \"# Headline\\nParagraph\",\n      \"_path\": \"path/to/file/\"\n    },\n    \"html\": \"\u003ch1\u003eHeadline\u003c/h1\u003e\u003cp\u003eParagraph\u003c/p\u003e\"\n  }\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxhoffmann%2Ffrontmd2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxhoffmann%2Ffrontmd2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxhoffmann%2Ffrontmd2json/lists"}