1.0.3 • Published 8 months ago

@dicebear/typings-figma-rest-api v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

TypeScript typings for the Figma REST API

This library provides TypeScript typings for the Figma Developers REST API. It scrapes the Figma Developers REST API documentation to generate the typings, which are then saved to index.d.ts.

Installation

To install the package, use npm:

npm install --save-dev @dicebear/typings-figma-rest-api

Usage

To use the typings, import them in your TypeScript code:

import type { DOCUMENT } from '@dicebear/typings-figma-rest-api';

Generating the typings

To generate the typings yourself, follow these steps:

  1. Clone the repository:
git clone https://github.com/dicebear/figma-rest-api-typings.git
  1. Install the dependencies:
npm install
  1. Run the generator:
npm run generate

This will update the index.d.ts file with the latest typings.

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago