0.1.2 • Published 2 years ago
figd v0.1.2
figd
An easy-to-use TypeScript wrapper for Figma's REST API, featuring modern ES6 and Promises
Usage
Full Documentation (Under Construction) is available on the web and most everything is typed with TypeScript.
First of all, you need to install the library:
npm install figdThen you're able to import the library and create a cliente with your accessToken or personalToken
import { createClient } from 'figd'
// Using an access token
const client = createClient({ accessToken: '<your_access_token>' });
// Or using a personal access token
const client = createClient({ personalAccessToken: '<your_personal_access_token>' });