{"library":"broccoli-node-api","type":"library","category":null,"description":"`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.","language":"javascript","status":"active","version":"1.7.0","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install broccoli-node-api","imports":["import type { Node } from 'broccoli-node-api';","import type { TransformNodeInfo } from 'broccoli-node-api';","import type { CallbackObject } from 'broccoli-node-api';"]},{"cmd":"yarn add broccoli-node-api","imports":[]},{"cmd":"pnpm add broccoli-node-api","imports":[]}],"homepage":null,"github":"https://github.com/broccolijs/broccoli-node-api","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/broccoli-node-api","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/broccoli-node-api/compatibility"}}