{"library":"middleware-rename-file","type":"library","category":null,"description":"middleware-rename-file is a Node.js middleware designed for dynamically renaming Vinyl file objects by leveraging properties defined within their YAML front-matter. Currently at version 1.0.0, the package appears to be in a maintenance state, with no active feature development. It targets older Node.js environments (engines >=0.10.0) and is primarily integrated with established templating and static site generation frameworks such as Assemble, Verb, Generate, and Templates. The core functionality allows developers to specify new `basename` and `dirname` attributes directly in a file's front-matter, which the middleware then applies to the file's destination path early in the build pipeline, typically via an `onLoad` event. This declarative approach to file renaming is a key differentiator, providing a structured way to manage file output within its target ecosystems.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","assemble","file","front-matter","generate","middleware","rename","rewrite","template"],"install":[{"cmd":"npm install middleware-rename-file","imports":["const renameMiddleware = require('middleware-rename-file');"]},{"cmd":"yarn add middleware-rename-file","imports":[]},{"cmd":"pnpm add middleware-rename-file","imports":[]}],"homepage":null,"github":"https://github.com/jonschlinkert/middleware-rename-file","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/middleware-rename-file","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/middleware-rename-file/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Wed Jul 22","install_tag":null}}