{"library":"common-middleware","type":"library","category":null,"description":"common-middleware is a JavaScript utility library that provides a collection of reusable middleware functions designed for applications built upon the `base-methods` framework, particularly for projects like Assemble, Verb, Generate, and Update. It currently stands at version 1.0.0, last updated over two years ago, indicating a maintenance phase rather than active development. The library focuses on processing file objects in a pipeline, offering functionalities such as front-matter parsing, escaping and unescaping template delimiters, and managing JSON data on load and pre-write. Its key differentiator is its integration within the `base` and `assemble` ecosystem, providing standardized pre-processing capabilities for file-based templating and content management workflows common in static site generators or documentation builders. It is specifically designed for Node.js environments, historically supporting versions `0.10.0` and above, and primarily uses CommonJS modules.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","common","front","front-matter","matter","middleware","parse","templates","yaml"],"last_verified":"Wed May 27","install":[{"cmd":"npm install common-middleware","imports":["const middleware = require('common-middleware');"]},{"cmd":"yarn add common-middleware","imports":[]},{"cmd":"pnpm add common-middleware","imports":[]}],"homepage":null,"github":"https://github.com/jonschlinkert/common-middleware","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/common-middleware","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/common-middleware/compatibility"}}