import { CoreAPI , Settings } from './CoreAPI' ; memberof function param { object } settings param { object } params . provider return { API } export const composeAPI = ( settings = { } ) => { const api = new CoreAPI ( settings ) ; return api ; } ;