JSPM

check-cycle

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q45453F
  • License ISC

check circular reference

Package Exports

  • check-cycle
  • check-cycle/index.js

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 (check-cycle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

check-cycle

install

npm install -g check-cycle

usage

fetch-icons -f [fileId] -t [token] -o [outputDir] -r [rule]

options

  • -f, --fileId: 피그마 파일 ID (required)
  • -t, --token: 피그마 API 토큰 (required)
  • -o, --output: 아이콘이 저장될 디렉토리 경로 (default: ./icons)
  • -r, --rule: 컴포넌트 이름 규칙 (예: 'icon/', 'NAME=') (default: 'Name=')

example

fetch-icons -f abcdefghijklmnop -t 123_456_789_abc -o ./icons -r icon/

how to get fileId and token

Prerequisites

  1. 피그마 파일에 아이콘이 컴포넌트로 정의되어 있어야 합니다.
  2. 아이콘 컴포넌트 이름은 아래 형식과 같이 컨벤션이 필요합니다.
icon/clover.svg
NAME=clover