{"library":"figma-rest-api-typescript-definitions","type":"library","category":null,"description":"TypeScript type definitions for Figma's REST API JSON responses, currently at version 0.2.0. These definitions are generated from Rust structs via 1Password's typeshare, ensuring type accuracy but potentially missing less-used fields. The package is updated infrequently, as it is derived from the Figma Rust project. Key differentiators: provides type safety for Figma API consumers in TypeScript projects, though coverage is limited to fields implemented in the Rust library. Alternatives like @figma/rest-api-spec offer hand-maintained types with broader coverage.","language":"javascript","status":"active","version":"0.2.0","tags":["javascript","figma","figma api","typings","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install figma-rest-api-typescript-definitions","imports":["import * as figmaTypes from 'figma-rest-api-typescript-definitions'","import { Node } from 'figma-rest-api-typescript-definitions'","import type { DocumentNode } from 'figma-rest-api-typescript-definitions'"]},{"cmd":"yarn add figma-rest-api-typescript-definitions","imports":[]},{"cmd":"pnpm add figma-rest-api-typescript-definitions","imports":[]}],"homepage":"https://github.com/ccouzens/figma-rust/tree/main/typescript","github":"https://github.com/ccouzens/figma-rust","docs":null,"changelog":null,"pypi":null,"npm":"figma-rest-api-typescript-definitions","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}