{"library":"stimulus-vite-helpers","type":"library","category":null,"description":"stimulus-vite-helpers is a utility package designed to simplify the registration of Stimulus.js controllers within applications that utilize Vite.js as their build tool. It provides a `registerControllers` helper function, which works in conjunction with Vite's `import.meta.glob` feature to automatically discover and register controllers across your project. The current stable version is 3.1.0, and the project appears to follow a release cadence tied to new features or improvements in Stimulus or Vite ecosystems. Key differentiators include its tight integration with Vite's native glob importing, streamlining a common Stimulus setup pattern, and its origin from the Jumpstart Rails with Vite.js template, implying robust integration with Rails applications using Vite. It does not provide HMR itself but suggests `vite-plugin-stimulus-hmr` for that functionality. This library is crucial for those building modern web applications with the Stimulus framework and Vite bundler, especially in Ruby on Rails contexts where `vite_rails` is often used.","language":"javascript","status":"active","version":"3.1.0","tags":["javascript","stimulus","stimulusjs","rails","ruby","vite","vite-plugin","vitejs","typescript"],"install":[{"cmd":"npm install stimulus-vite-helpers","imports":["import { registerControllers } from 'stimulus-vite-helpers'","import { Application } from 'stimulus'","const controllers = import.meta.glob('./**/*_controller.js', { eager: true })"]},{"cmd":"yarn add stimulus-vite-helpers","imports":[]},{"cmd":"pnpm add stimulus-vite-helpers","imports":[]}],"homepage":null,"github":"https://github.com/ElMassimo/stimulus-vite-helpers","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/stimulus-vite-helpers","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/stimulus-vite-helpers/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}