This document outlines file helpers available.
Import the helper from the library:
import { FileHelper } from "@supernovaio/export-helpers";
And use any static method available on the helper object FileHelper
.
Creates a file definition that tells exporter to take content of the provided URL and copy it to the resulting file
Creates a file definition that tells exporter to take provided text and create file with the text as a content
Creates a file definition that tells exporter to take provided binary data and create file with the data as a content