Include figma-assets-generator in your project, provide required options and call getFigmaAssets(options) whenever you want to pull and create icons. const ...