npm.io
0.15.2 • Published 5 years ago

@figma-plugin/helpers

Licence
MIT
Version
0.15.2
Deps
2
Size
60 kB
Vulns
0
Weekly
0
Stars
282

Figma Plugin Helper functions

npm npm bundle size

A collection of useful helper functions to import to your Figma plugin project

Installation

npm i @figma-plugin/helpers
# or
yarn add @figma-plugin/helpers

Usage

import { isTextNode } from "@figma-plugin/helpers";

const firstTextNode = figma.currentPage.findOne(node => isTextNode(node));

Documentation

Find more information about each helper function in /docs directory.

Roadmap

  • Write a contribution guidelines
  • Source additional helper functions from the community
  • Write a docs

Keywords