figma-metadata-extractor 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib.d.ts +7 -1
- package/package.json +1 -1
package/dist/lib.d.ts
CHANGED
|
@@ -97,7 +97,13 @@ export interface FigmaFrameImageOptions {
|
|
|
97
97
|
* @param options - Configuration options including API credentials
|
|
98
98
|
* @returns Promise resolving to the extracted metadata
|
|
99
99
|
*/
|
|
100
|
-
export declare function getFigmaMetadata(figmaUrl: string, options
|
|
100
|
+
export declare function getFigmaMetadata(figmaUrl: string, options: FigmaMetadataOptions & {
|
|
101
|
+
outputFormat: 'json';
|
|
102
|
+
}): Promise<string>;
|
|
103
|
+
export declare function getFigmaMetadata(figmaUrl: string, options: FigmaMetadataOptions & {
|
|
104
|
+
outputFormat: 'yaml';
|
|
105
|
+
}): Promise<string>;
|
|
106
|
+
export declare function getFigmaMetadata(figmaUrl: string, options?: FigmaMetadataOptions): Promise<FigmaMetadataResult>;
|
|
101
107
|
/**
|
|
102
108
|
* Download images from a Figma file
|
|
103
109
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "figma-metadata-extractor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Extract metadata and download images from Figma files. A standalone library for accessing Figma design data and downloading frame images programmatically.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|