import { setDebug } from '@feathersjs/commons' import version from './version' import { Feathers } from './application' import { Application } from './declarations' export function feathers() { return new Feathers() as Application } feathers.setDebug = setDebug export { version, Feathers } export * from './hooks' export * from './declarations' export * from './service' if (typeof module !== 'undefined') { module.exports = Object.assign(feathers, module.exports) }