Upload a File
Upload a File to the storage of your choice with Filestack
You can add Filestack to your project quickly and easily using our CDN
Or by installing Filestack-JS using NPM
You will need to instantiate the client with your API key and security or CNAME if they apply to you.
You may pass in an optional dictionary of key-value pairs to customize the options of
const client = filestack.init('Your_API_Key'); client.upload(file, uploadOptions, storeOptions, token);