New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

figma-library-analytics

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

figma-library-analytics

Figma library analytics.

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Figma Library Analytics

For the enterprise plan only :/

Installation

npm i figma-library-analytics

Create a .env

FIGMA_ACCESS_TOKEN=your_figma_access_token
FILE_KEY=your_figma_file_key
START_DATE=YYYY-MM-DD
END_DATE=YYYY-MM-DD

Usage

As a module

import { libraryAnalytics } from 'figma-library-analytics';

async function runAnalytics() {
  try {
    await libraryAnalytics();
    console.log('Reports generated successfully!');
  } catch (error) {
    console.error('Error generating reports:', error);
  }
}

runAnalytics();

As a CLI tool

figma-library-analytics

Output

Generated in the output directory

  1. actions_by_component.csv — Actions (detachments and insertions) grouped by component.
  2. actions_by_team.csv — Actions grouped by team.
  3. usages_by_component.csv — Component usage statistics.
  4. usages_by_file.csv — Component usage grouped by file.

Keywords

FAQs

Package last updated on 15 Oct 2024

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