JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2028
  • Score
    100M100P100Q120242F
  • License MIT

A collection of helper functions useful when creating Figma plugins

Package Exports

  • @figma-plugin/helpers

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@figma-plugin/helpers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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