{"library":"wmf","type":"library","category":null,"description":"The `wmf` package, currently at stable version 1.0.2, provides a pure JavaScript parser and renderer for Windows MetaFile (WMF) image files. It enables developers to extract image dimensions and draw WMF content onto HTML Canvas elements in both browser and Node.js environments. Unlike solutions that often require server-side processing or native libraries for WMF parsing, `wmf` offers a client-side or server-side (Node.js) JavaScript-only approach. Its primary purpose is to make a legacy image format accessible within modern web and Node.js applications. The library is specialized for this niche, implying a stable but infrequent release cadence focused on maintaining compatibility and reliability for WMF processing rather than rapid feature expansion. It ships with TypeScript types, facilitating type-safe development.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","wmf","image","office","word","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install wmf","imports":["import WMF from 'wmf';","const WMF = require('wmf');","<script src=\"wmf.js\"></script>\n// WMF is now globally available"]},{"cmd":"yarn add wmf","imports":[]},{"cmd":"pnpm add wmf","imports":[]}],"homepage":"https://sheetjs.com/","github":"https://github.com/SheetJS/js-wmf","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/wmf","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/wmf/compatibility"}}