{"id":23817772,"url":"https://github.com/lsongdev/tiny-matter","last_synced_at":"2025-09-07T00:32:41.449Z","repository":{"id":39613846,"uuid":"416191559","full_name":"lsongdev/tiny-matter","owner":"lsongdev","description":"⚡  super tiny front matter parser just ~20 lines with no dependencies.","archived":false,"fork":false,"pushed_at":"2022-05-31T01:46:45.000Z","size":8,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-06T07:52:33.673Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npmjs.org/tiny-matter","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/lsongdev.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":"2021-10-12T05:04:40.000Z","updated_at":"2025-02-19T12:17:10.000Z","dependencies_parsed_at":"2022-09-15T21:41:41.168Z","dependency_job_id":null,"html_url":"https://github.com/lsongdev/tiny-matter","commit_stats":null,"previous_names":["lsongdev/tiny-matter","song940/tiny-matter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lsongdev/tiny-matter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Ftiny-matter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Ftiny-matter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Ftiny-matter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Ftiny-matter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsongdev","download_url":"https://codeload.github.com/lsongdev/tiny-matter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Ftiny-matter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273983013,"owners_count":25202092,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-01-02T05:48:43.570Z","updated_at":"2025-09-07T00:32:41.165Z","avatar_url":"https://github.com/lsongdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## tiny-matter\n\n\u003e super tiny front matter parser just ~20 lines with no dependencies. Type definitions included.\n\n### What's is ?\n\nConverts a string with front-matter, like this:\n\n```yaml\n---\ntitle: Hello\nslug: home\n---\n\u003ch1\u003eHello world!\u003c/h1\u003e\n```\n\nInto an object like this:\n\n```js\n{\n  content: '\u003ch1\u003eHello world!\u003c/h1\u003e',\n  data: {\n    title: 'Hello',\n    slug: 'home'\n  }\n}\n```\n\n### Install\n\n```sh\nnpm i tiny-matter --save\n```\n\n### Example\n\n```js\n// CommonJS\nconst matter = require('tiny-matter');\n\n// ES6\nimport matter from 'tiny-matter';\n\nconsole.log(matter('---\\ntitle: Front Matter\\n---\\nThis is content.'));\n```\n\n### License\n\nThis project is under MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsongdev%2Ftiny-matter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsongdev%2Ftiny-matter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsongdev%2Ftiny-matter/lists"}