Important: The code for this module has been moved into the main Feathers repository at feathersjs/feathers (package direct link). Please open issues and pull requests there. No changes in your existing Feathers applications are necessary.
A client for Feathers services supporting many different transport libraries.
While Feathers and its modules can be used on the client with an NPM compatible module loader like Browserify, Webpack or StealJS,
@feathersjs/client consolidates a standard set of client plugins into a single distributable that can be used standalone in the browser or with other module loaders (like RequireJS) that don't support NPM. The following modules are included:
- @feathersjs/feathers as
feathers(or the default module export)
- @feathersjs/errors as
- @feathersjs/rest-client as
- @feathersjs/socketio-client as
- @feathers/primus-client as
- @feathersjs/authentication-client as
In the browser a client that connects to the local server via websockets can be initialized like this:
For the full documentation see the Feathers documentation.
Copyright (c) 2018 Feathers contributors
Licensed under the MIT license.