Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amiga

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amiga

Convert SVG to JSON using Figma, Sketch, or a folder of SVGs.

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

amiga

Export JSON from SVGs.

Install

yarn add amiga --dev

npm install amiga --save-dev

Figma

Setup

  1. Generate a personal access token for the Figma API
  2. Create a .env file with your access token
    • FIGMA_TOKEN=<personal-access-token>
    • Alternatively add an environment variable for FIGMA_TOKEN in your npm script
  3. You can now use amiga figma <figma-file-id> to generate a JSON file from all components

Options

    --name        name of the generated JSON file
    --out-dir     output directory (defaults to cwd)
    --camel-case  camelCase all props
    --blacklist   exclude props in a space separated list

Sketch

Coming soon!

Thanks

This project is built on the shoulders of giants and wouldn't be possible without an amazing community. Huge thanks to the following people:

FAQs

Package last updated on 29 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc