Skip to content

API Reference

This section provides detailed API documentation.

Core API

myFunction()

Main function that does something useful.

js
import { myFunction } from 'my-package'

myFunction({
  param1: 'value',
  param2: true
})

Parameters

NameTypeDescription
param1stringDescription of param1
param2booleanDescription of param2

Returns

Returns a Promise<void>.