{"library":"primefaces","title":"PrimeFaces","description":"PrimeFaces is a popular open-source UI component library for JavaServer Faces (JSF) with a rich set of over 100 components for enterprise web applications. The npm package 'primefaces' provides TypeScript type definitions for PrimeFaces client-side JavaScript API. Version 14.0.0 is the current stable release as per the given data, but the latest tagged release is 15.0.14. The library has a high release cadence (multiple minor releases per month) and is actively maintained by the PrimeFaces team. Key differentiators include extensive theme support, built-in AJAX, and a large component set. Peer dependencies include hammerjs, component-emitter, keycharm, propagating-hammerjs, and uuid for gesture and event support.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install primefaces"],"cli":null},"imports":["import 'primefaces'","import 'primefaces'","import 'primefaces'","import 'jquery';\nimport 'primefaces';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Ensure jQuery type definitions are available\nimport 'jquery';\nimport 'primefaces';\n\n// Use PF global function to get a widget instance\nconst dialog = PF('myDialog');\nif (dialog) {\n  dialog.show();\n}\n\n// Access PrimeFaces settings\nPrimeFaces.settings.locale = 'en';\n\n// Use PrimeFaces ajax utility\nPrimeFaces.ajax.AjaxRequest({\n  url: '/my-endpoint',\n  oncomplete: function(xhr, status, args) {\n    console.log('AJAX complete');\n  }\n});\n\n// Use component widget API\ndeclare const myAutoComplete: any; // Assume widget var from view\nmyAutoComplete.search('query');\n","lang":"typescript","description":"Demonstrates importing PrimeFaces types, using the global PF function, accessing PrimeFaces settings, making an AJAX request, and calling a widget method.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}