Figma API stub
npm install figma-api-stub

A stub implementation of Figma Plugins API.
``javascript
import {createFigma} from "figma-api-stub";
const figma = createFigma();
const rect = figma.createRectangle();
rect.resize(100, 200);
`
---
⚠️ Warning! It's not an official implementation, and it hasn't the purpose to fully reproduce Figma behavior and API.
---
Install it with yarn:
``
yarn add figma-api-stub
Or with npm:
``
npm i figma-api-stub --save
#### Stub api creation
`javascript``
createFigma(): PluginAPI