5.0.0 • Published 1 year ago

matter-now v5.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
1 year ago

matter-now

npm package version Build status Dependencies status

Append the current date to the YAML front matter of Markdown files. Useful for adding the published date to static content files like blog posts.

Demo

Installation

npm install -g matter-now

Usage

$ matter-now
Usage: matter-now [options] <file...>

Options:
  -a, --attr <attribute>  front matter attribute (default: "date")
  -f, --format <format>   date-fns date format (default: "yyyy-MM-dd'T'HH:mm:ssxxx")
  -v, --version           output the version number
  -h, --help              display help for command

matter-now can also be used with lint-staged to append dates to git staged Markdown files:

{
  "*.md": "matter-now"
}

See it in action here.

5.0.0

1 year ago

4.0.0

2 years ago

2.0.2

3 years ago

3.0.0

3 years ago

2.0.1

4 years ago

1.2.0

4 years ago

2.0.0

4 years ago

1.2.1

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

6 years ago