This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@dicebear/typings-figma-rest-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @dicebear/typings-figma-rest-api

Weekly Downloads

7

Version

1.0.3

License

MIT

Unpacked Size

19.4 kB

Total Files

5

Last publish

Collaborators

  • floriankoerner