# @shakuroinc/figma-extractor

> ![Shakuro Figma extractor](title-image.png)

Latest version **7.5.2** (published 2026-11-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @shakuroinc/figma-extractor
pnpm add @shakuroinc/figma-extractor
yarn add @shakuroinc/figma-extractor
bun add @shakuroinc/figma-extractor
```

Provides the command `figma-extract`.

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 7.5.2 |
| Published | 2026-11-19 |
| First published | 2021-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 163.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 24 |
| Author | Shakuro team |
| Maintainers | shakuro, abazhanov |

## Links

- npm: https://www.npmjs.com/package/@shakuroinc/figma-extractor
- Repository: https://github.com/shakurocom/figma-extractor
- Homepage: https://github.com/shakurocom/figma-extractor#readme
- Issues: https://github.com/shakurocom/figma-extractor/issues
- npm.io page: https://npm.io/package/@shakuroinc/figma-extractor

## Dependencies (9)

- [svgo](https://npm.io/package/svgo.md) ^3.3.2
- [axios](https://npm.io/package/axios.md) ^1.7.2
- [ramda](https://npm.io/package/ramda.md) ^0.30.1
- [yargs](https://npm.io/package/yargs.md) ^17.7.2
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.5
- [figma-js](https://npm.io/package/figma-js.md) ^1.16.1-0
- [async-retry](https://npm.io/package/async-retry.md) ^1.3.3
- [cosmiconfig](https://npm.io/package/cosmiconfig.md) ^8.2.0
- [@inquirer/select](https://npm.io/package/@inquirer/select.md) ^2.3.10

## Recent versions

- 7.5.2 (latest) — 2026-11-19
- 7.5.1 — 2026-04-23
- 7.5.0 — 2026-04-16
- 7.4.2 — 2026-04-01
- 7.4.0 — 2026-03-18
- 7.3.1 — 2025-09-25
- 7.3.0 — 2025-09-19
- 7.2.1 — 2025-08-25
- 7.2.0 — 2025-08-14
- 7.1.0 — 2025-07-22
- 3.5.0 — 2025-07-08
- 7.0.0 — 2025-04-04
- 6.0.0 — 2025-03-20
- 5.10.0 — 2025-02-05
- 5.9.0 — 2025-01-28
- … 53 more at https://npm.io/package/@shakuroinc/figma-extractor/versions

## README

![Shakuro Figma extractor](title-image.png)
<br><br>

# Figma extractor

[![npm](https://img.shields.io/npm/v/@shakuroinc/figma-extractor)](https://www.npmjs.com/package/@shakuroinc/figma-extractor)
[![license](https://img.shields.io/npm/l/@shakuroinc/figma-extractor)](https://www.npmjs.com/package/@shakuroinc/figma-extractor)

Extract a style system (colors, effects, text styles, responsive variables) and SVG icons from Figma into ready-to-use TypeScript and CSS files.

## Setup

1. Install the package `pnpm add -D @shakuroinc/figma-extractor`
2. Add a config file `figma-extractor.config.js`
3. Add a variables JSON file exported from Figma
4. Run `pnpm figma-extract`

## Documentation

Full documentation: https://figma-extractor.shakuro.workers.dev

- [Get started](https://figma-extractor.shakuro.workers.dev/docs)
- [Configuration](https://figma-extractor.shakuro.workers.dev/docs/configuration)
- [CLI API](https://figma-extractor.shakuro.workers.dev/docs/cli-api)
- [How to find node id](https://figma-extractor.shakuro.workers.dev/docs/how-to-find-node-id)
- [Using themes in your project](https://figma-extractor.shakuro.workers.dev/docs/how-to-use-themes-in-your-project)

The documentation source lives in [`docs/`](docs) (built with [Fumadocs](https://fumadocs.dev), deployed to Cloudflare Workers).

Take a look at our <a href="https://shakuro.com/services/web-dev/?utm_source=github&utm_medium=repository&utm_campaign=figma-extractor">web development services</a>

If you need professional assistance with your mobile or web project, feel free to <a href="https://shakuro.com/get-in-touch/?utm_source=github&utm_medium=repository&utm_campaign=figma-extractor">contact our team</a>

## Claude Code plugins

The project relies on the Claude Code plugins declared in `.claude/settings.json` (`enabledPlugins` + `extraKnownMarketplaces`). That file only *enables* them for the team — Claude Code never installs plugins automatically, so every developer installs them once. Install with `--scope user`: the plugins are shared across projects, and `.claude/settings.json` stays the single source of truth for *which* plugins this repo needs.

### Sync plugins with Claude Code

Paste this prompt into Claude Code from the repo root — it emulates an "install missing plugins" command:

```
Sync my Claude Code plugins with this project.

1. Read `enabledPlugins` and `extraKnownMarketplaces` from `.claude/settings.json` (project scope).
2. Compare with `claude plugin list` and `claude plugin marketplace list`.
3. For every marketplace from `extraKnownMarketplaces` that is missing locally, run `claude plugin marketplace add <source>` using the `source` from the settings file.
4. For every plugin from `enabledPlugins` that is not installed in user scope, run `claude plugin install <plugin>@<marketplace> --scope user`.
5. Do not edit `.claude/settings.json`, `.claude/settings.local.json` or `~/.claude/settings.json` by hand — only the `claude plugin` CLI may change them.
6. Finish with a table: plugin, marketplace, status (already installed / installed now / failed with reason). Remind me to restart Claude Code if anything was installed.
```

Or install manually:

```sh
claude plugin install context-mode@context-mode --scope user
claude plugin install skill-creator@claude-plugins-official --scope user
claude plugin install superpowers@claude-plugins-official --scope user
```

Restart Claude Code after installing; `claude plugin list` shows what is installed.

When adding a new plugin, install it with `--scope user`, add it to `enabledPlugins` (and its marketplace to `extraKnownMarketplaces`) in `.claude/settings.json`, commit that change, and add the command to the list above.

---
_Source: https://npm.io/package/@shakuroinc/figma-extractor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
