{"id":20926190,"url":"https://github.com/weidemo/revm-path","last_synced_at":"2025-05-13T17:33:34.264Z","repository":{"id":65489891,"uuid":"85796470","full_name":"WeideMo/revm-path","owner":"WeideMo","description":"Create a revved file path appending md5 hash string.","archived":false,"fork":false,"pushed_at":"2017-03-22T07:36:06.000Z","size":1,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-26T10:05:00.859Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WeideMo.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":"2017-03-22T07:12:37.000Z","updated_at":"2019-01-24T10:30:30.000Z","dependencies_parsed_at":"2023-01-25T17:35:12.151Z","dependency_job_id":null,"html_url":"https://github.com/WeideMo/revm-path","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeideMo%2Frevm-path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeideMo%2Frevm-path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeideMo%2Frevm-path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeideMo%2Frevm-path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WeideMo","download_url":"https://codeload.github.com/WeideMo/revm-path/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225249005,"owners_count":17444358,"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":"2024-11-18T20:37:12.236Z","updated_at":"2024-11-18T20:37:13.072Z","avatar_url":"https://github.com/WeideMo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# revm-path\n\n\u003e Create a revved file path appending md5 hash string.\n\n\n## Install\n\n```\n$ npm install --save revm-path\n```\n\n\n## Usage\n\n```js\nvar revPath = require('revm-path');\nvar hash = 'bb9d8fe615'\n\nvar path = revPath('src/unicorn.png', hash);\n//=\u003e 'src/unicorn.png?bb9d8fe615'\n\nrevPath('src/unicorn.png', Date.now());\n//=\u003e 'src/unicorn.png?1432309925925'\n\n// you can also revert an already hashed path\nrevPath.revert(path, hash);\n//=\u003e 'src/unicorn.png'\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweidemo%2Frevm-path","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweidemo%2Frevm-path","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweidemo%2Frevm-path/lists"}