600.0.0 • Published 5 years ago

@ihadeed/client v600.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@feathersjs/client

Greenkeeper badge

Build Status Dependency Status Download Status

Sauce Test Status

A client for Feathers services supporting many different transport libraries.

About

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:

In the browser a client that connects to the local server via websockets can be initialized like this:

<script type="text/javascript" src="//unpkg.com/socket.io-client@1.7.3/dist/socket.io.js"></script>
<script type="text/javascript" src="//unpkg.com/@feathersjs/client@^3.0.0/dist/feathers.js"></script>
<script type="text/javascript">
  var socket = io();
  var client = feathers()
    .configure(feathers.socketio(socket));
  var todoService = client.service('todos');
  
  todoService.on('created', function(todo) {
    console.log('Someone created a todo', todo);
  });
  
  todoService.create({
    description: 'Todo from client'
  });
</script>

For the full documentation see the Feathers documentation.

License

Copyright (c) 2018 Feathers contributors

Licensed under the MIT license.

600.0.0

5 years ago

500.0.0

5 years ago

100.5.0

5 years ago

100.4.0

5 years ago

100.3.0

5 years ago

100.2.0

5 years ago

100.1.0

5 years ago

100.0.0

5 years ago

6.0.0

5 years ago

5.7.0

5 years ago

5.6.0

5 years ago

5.5.0

5 years ago

5.4.0

5 years ago

5.3.0

5 years ago

5.2.1

5 years ago

5.0.1

5 years ago