Peripheral

screenshot of Peripheral

Component & System Creation for Stuart Sierra's Component Library | Moved to Codeberg

Overview:

Peripheral is a small library that helps in creating components and component systems using Stuart Sierra's component library. It provides a simple way to define components, start and stop them, and manage their lifecycles.

Features:

  • Easy creation of components using the defcomponent macro.
  • Support for dependencies and internal state in components.
  • Ability to start and stop components using peripheral.core/start and peripheral.core/stop.
  • Support for protocol implementations to define behavior.
  • Option to start subcomponents within the context of another component.
  • Lifecycle management functions for components.

Summary:

Peripheral is a library that simplifies the creation and management of components and component systems in Clojure. It provides a convenient way to define components, handle dependencies, start and stop components, and manage their lifecycles. With support for protocol implementations and subcomponents, Peripheral offers flexibility in designing and organizing your systems.