{"id":18984976,"url":"https://github.com/rbardini/matter-now","last_synced_at":"2025-09-09T22:13:05.468Z","repository":{"id":42231609,"uuid":"237272189","full_name":"rbardini/matter-now","owner":"rbardini","description":"📅 Append the current date to the YAML front matter of Markdown files","archived":false,"fork":false,"pushed_at":"2024-08-03T23:27:15.000Z","size":810,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-04T00:47:43.466Z","etag":null,"topics":["date","datetime","front-matter","markdown","now","time","timestamp","yaml"],"latest_commit_sha":null,"homepage":"https://npm.im/matter-now","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/rbardini.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":"2020-01-30T17:57:39.000Z","updated_at":"2024-08-03T23:25:29.000Z","dependencies_parsed_at":"2024-08-04T00:27:47.085Z","dependency_job_id":null,"html_url":"https://github.com/rbardini/matter-now","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.2142857142857143,"last_synced_commit":"97a23922343cad39f48e5b2d8abe9fec0ad9c64e"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbardini%2Fmatter-now","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbardini%2Fmatter-now/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbardini%2Fmatter-now/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbardini%2Fmatter-now/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rbardini","download_url":"https://codeload.github.com/rbardini/matter-now/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223714972,"owners_count":17190773,"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":["date","datetime","front-matter","markdown","now","time","timestamp","yaml"],"created_at":"2024-11-08T16:23:55.585Z","updated_at":"2024-11-08T16:23:56.005Z","avatar_url":"https://github.com/rbardini.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# matter-now\n\n[![npm package version](https://img.shields.io/npm/v/matter-now)](https://www.npmjs.com/package/matter-now)\n[![Build status](https://img.shields.io/github/actions/workflow/status/rbardini/matter-now/main.yml)](https://github.com/rbardini/matter-now/actions)\n[![Dependencies status](https://img.shields.io/librariesio/release/npm/matter-now)](https://libraries.io/npm/matter-now)\n\nAppend the current date to the YAML front matter of Markdown files. Useful for adding the published date to static content files like blog posts.\n\n![Demo](demo.gif)\n\n## Installation\n\n```console\nnpm install -g matter-now\n```\n\n## Usage\n\n```console\n$ matter-now\nUsage: matter-now [options] \u003cfile...\u003e\n\nOptions:\n  -a, --attr \u003cattribute\u003e  front matter attribute (default: \"date\")\n  -f, --format \u003cformat\u003e   date-fns date format (default: \"yyyy-MM-dd'T'HH:mm:ssxxx\")\n  -v, --version           output the version number\n  -h, --help              display help for command\n```\n\nmatter-now can also be used with [lint-staged](https://github.com/okonet/lint-staged) to append dates to git staged Markdown files:\n\n```json\n{\n  \"*.md\": \"matter-now\"\n}\n```\n\nSee it in action [here](https://github.com/rbardini/rbardini.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbardini%2Fmatter-now","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frbardini%2Fmatter-now","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbardini%2Fmatter-now/lists"}