UNPKG

@feathersjs/client

Version:

A module that consolidates Feathers client modules for REST (jQuery, Request, Superagent) and Websocket (Socket.io, Primus) connections

14 lines (11 loc) 453 B
import { feathers } from '@feathersjs/feathers' import authentication from '@feathersjs/authentication-client' import rest from '@feathersjs/rest-client' import socketio from '@feathersjs/socketio-client' export * from '@feathersjs/feathers' export * as errors from '@feathersjs/errors' export { authentication, rest, socketio } export default feathers if (typeof module !== 'undefined') { module.exports = Object.assign(feathers, module.exports) }