{"library":"u2f-api-polyfill","type":"library","category":null,"description":"The `u2f-api-polyfill` package provides a JavaScript polyfill that implements the high-level FIDO U2F (Universal 2nd Factor) API for web browsers. It specifically targets environments where `window.u2f` might not natively exist, such as older Chrome versions. Maintained as version 0.4.4, its release cadence is irregular, primarily serving to pull in updates from Google's authoritative `u2f-ref-code` repository. This package acts as a direct port of Google's reference implementation, simplifying its consumption via NPM and eliminating the need for manual synchronization. It is not an independent U2F implementation but a faithful reproduction of Google's code designed for browser compatibility and to expose the global `window.u2f` object. While U2F itself has largely been superseded by the more modern WebAuthn standard, this polyfill remains relevant for maintaining compatibility with existing U2F implementations and legacy applications.","language":"javascript","status":"maintenance","version":"0.4.4","tags":["javascript","fido","u2f"],"last_verified":"Wed May 27","install":[{"cmd":"npm install u2f-api-polyfill","imports":["import 'u2f-api-polyfill';\n// Then, use the global object:\n// window.u2f.register(...)"]},{"cmd":"yarn add u2f-api-polyfill","imports":[]},{"cmd":"pnpm add u2f-api-polyfill","imports":[]}],"homepage":"https://fidoalliance.org/","github":"https://github.com/mastahyeti/u2f-api","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/u2f-api-polyfill","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/u2f-api-polyfill/compatibility"}}