Broccoli Node API Types
JSON →`broccoli-node-api` is a TypeScript package that provides canonical type definitions for the Broccoli Node API. It is an essential component for developers creating custom plugins (nodes) for the Broccoli build system, ensuring type safety and enhancing the developer experience within the Broccoli ecosystem. As of version 1.7.0, this library comprehensively covers types for core concepts like `Node`, `InputNode`, `TransformNode`, and `SourceNode`, along with their associated information objects such as `TransformNodeInfo` and `SourceNodeInfo`, and callback interfaces like `CallbackObject` and `BuildChangeObject`. The package directly mirrors the specification outlined in the official Broccoli Node API documentation, facilitating the correct implementation of build hooks and data structures. Its release cadence is tightly coupled with the evolution of the Broccoli core, aiming to always provide up-to-date type definitions. Its primary differentiator is its role as the official, direct, and canonical source of truth for plugin typings within the Broccoli build system.
Traffic · last 30 days ↑0% vs prev 7d
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇪🇸 Spain