@feathersjs/feathers
Version:
A framework for real-time applications and REST API with JavaScript and TypeScript
21 lines (15 loc) • 507 B
text/typescript
import { setDebug } from '@feathersjs/commons'
import version from './version'
import { Feathers } from './application'
import { Application } from './declarations'
export function feathers<T = any, S = any>() {
return new Feathers<T, S>() as Application<T, S>
}
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)
}