{"id":21883182,"url":"https://github.com/pinjasaur/gulp-update-humanstxt-date","last_synced_at":"2026-04-16T03:31:31.786Z","repository":{"id":16707013,"uuid":"80090311","full_name":"Pinjasaur/gulp-update-humanstxt-date","owner":"Pinjasaur","description":"Update the `last updated` date in a humans.txt file.","archived":false,"fork":false,"pushed_at":"2023-04-18T04:02:01.000Z","size":31,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T12:50:09.503Z","etag":null,"topics":["gulp","gulp-plugin","humanstxt"],"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/Pinjasaur.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-26T06:05:45.000Z","updated_at":"2020-12-06T22:30:45.000Z","dependencies_parsed_at":"2024-10-29T23:54:00.441Z","dependency_job_id":null,"html_url":"https://github.com/Pinjasaur/gulp-update-humanstxt-date","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pinjasaur%2Fgulp-update-humanstxt-date","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pinjasaur%2Fgulp-update-humanstxt-date/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pinjasaur%2Fgulp-update-humanstxt-date/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pinjasaur%2Fgulp-update-humanstxt-date/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pinjasaur","download_url":"https://codeload.github.com/Pinjasaur/gulp-update-humanstxt-date/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244890109,"owners_count":20527036,"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":["gulp","gulp-plugin","humanstxt"],"created_at":"2024-11-28T09:39:40.179Z","updated_at":"2026-04-16T03:31:31.729Z","avatar_url":"https://github.com/Pinjasaur.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-update-humanstxt-date [![Travis](https://img.shields.io/travis/Pinjasaur/gulp-update-humanstxt-date.svg)](https://github.com/Pinjasaur/gulp-update-humanstxt-date)\n\n\u003e Update the `last update` date in a `humans.txt` file.\n\n\n## Install\n\nWith npm\n```sh\nnpm install --save-dev gulp-update-humanstxt-date\n```\n\nor with Yarn\n```sh\nyarn add --dev gulp-update-humanstxt-date\n```\n\n\n## Usage\n\n```js\nconst gulp = require(\"gulp\");\nconst updateHumanstxtDate = require(\"gulp-update-humanstxt-date\");\n\ngulp.task(\"default\", () =\u003e {\n  gulp.src(\"./humans.txt\")\n    .pipe(updateHumanstxtDate())\n    .pipe(gulp.dest(\"dist\"));\n});\n```\n\n\n## Caveats\n\nAs per the [humans.txt standard](http://humanstxt.org/Standard.html), the year is expected in the _YYYY/MM/DD_ format.\n\nIn addition, the general format is expected to be as follows: _Last updated: YYYY/MM/DD_. The tense of \"update\" can be present (update) or past (updated). Further, the space between the colon (:) and the date is optional.\n\nIf you're having trouble, enable logging: `updateHumanstxtDate({ log: true })`. If the issue persists please [let me know](https://github.com/Pinjasaur/gulp-update-humanstxt-date/issues).\n\n\n## API\n\n### updateHumanstxtDate([options])\n\n#### options\n\n##### log\n\nType: `Boolean`\u003cbr\u003e\nDefault: `false`\n\nLog out the previous date and the current date as it will be replaced in `humans.txt`. Useful for debugging.\n\n\n## License\n\nMIT \u0026copy; Paul Esch-Laurent\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinjasaur%2Fgulp-update-humanstxt-date","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinjasaur%2Fgulp-update-humanstxt-date","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinjasaur%2Fgulp-update-humanstxt-date/lists"}