{"id":26471152,"url":"https://github.com/seppevs/rmot","last_synced_at":"2026-05-10T02:21:32.975Z","repository":{"id":57355449,"uuid":"190429641","full_name":"seppevs/rmot","owner":"seppevs","description":"Remove all files older than a certain date","archived":false,"fork":false,"pushed_at":"2020-04-24T08:23:30.000Z","size":326,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T22:07:09.699Z","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/seppevs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-05T16:24:47.000Z","updated_at":"2020-04-24T08:23:33.000Z","dependencies_parsed_at":"2022-09-26T16:31:47.262Z","dependency_job_id":null,"html_url":"https://github.com/seppevs/rmot","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seppevs%2Frmot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seppevs%2Frmot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seppevs%2Frmot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seppevs%2Frmot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seppevs","download_url":"https://codeload.github.com/seppevs/rmot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244506033,"owners_count":20463464,"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":"2025-03-19T20:53:33.192Z","updated_at":"2026-05-10T02:21:27.948Z","avatar_url":"https://github.com/seppevs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rmot\nRemove Older Than\n\nAn async function that removes all files of a directory older than a given date\n\n✨ [![Build Status](http://img.shields.io/travis/seppevs/rmot.svg?style=flat)](https://travis-ci.org/seppevs/rmot) [![Coverage Status](https://coveralls.io/repos/github/seppevs/rmot/badge.svg?branch=master)](https://coveralls.io/r/seppevs/rmot) [![NPM](http://img.shields.io/npm/v/rmot.svg?style=flat)](https://www.npmjs.org/package/rmot) [![Downloads](http://img.shields.io/npm/dm/rmot.svg?style=flat)](https://www.npmjs.org/package/rmot) [![Dependencies](https://david-dm.org/seppevs/rmot.svg)](https://david-dm.org/seppevs/rmot) [![Known Vulnerabilities](https://snyk.io/test/github/seppevs/rmot/badge.svg)](https://snyk.io/test/github/seppevs/rmot) ✨\n\n\n## Installation\n```bash\n$ npm install rmot --save\n```\n\n## Example\n```javascript\nconst rmot = require('rmot');\n\n(async () =\u003e {\n  // Removes all files in `/path/to/some/dir` that were created before '2019-06-05T19:48:48.049Z'\n  const result = await rmot('/path/to/some/dir', new Date('2019-06-05T19:48:48.049Z'));\n  \n  // The resolved value will contain a list of fileNames that were removed\n  console.log(result);\n})();\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseppevs%2Frmot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseppevs%2Frmot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseppevs%2Frmot/lists"}