{"library":"js-component-framework","type":"library","category":null,"description":"JS Component Framework is a zero-dependency JavaScript library designed to simplify the configuration and attachment of JavaScript components to DOM elements. It is currently at stable version 3.2.0, with recent updates focusing on bug fixes and enhanced flexibility, such as improved `domContentLoaded` handling and custom root selector support. The framework allows components to be defined as either ES6 classes or functions, using `componentProvider` to automatically initialize them based on a configuration object. A key differentiator is its automatic collection of child nodes based on configuration, minimizing the need for manual DOM queries within components. This approach aims to streamline front-end development by centralizing DOM interaction logic and reducing boilerplate, offering a lightweight alternative to more comprehensive frameworks.","language":"javascript","status":"active","version":"3.2.0","tags":["javascript","es6"],"last_verified":"Wed May 27","install":[{"cmd":"npm install js-component-framework","imports":["import { componentProvider } from 'js-component-framework';","import { Component } from 'js-component-framework/v2';","import { componentLoader } from 'js-component-framework';"]},{"cmd":"yarn add js-component-framework","imports":[]},{"cmd":"pnpm add js-component-framework","imports":[]}],"homepage":null,"github":"https://github.com/alleyinteractive/js-component-framework","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/js-component-framework","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/js-component-framework/compatibility"}}