Dependency

npm install @tanker/filekit
# or...
yarn add @tanker/filekit

Import

import FileKit from '@tanker/filekit';
// or...
const { FileKit } = require('@tanker/filekit');

Constructor

const config = { appId: 'your-app-id' };
const fileKit = new FileKit(config);
Parameters Description
config: Object The configuration of this FileKit instance, containing:
config.appId: string The app ID