Socket
Socket
Sign inDemoInstall

feathers-client

Package Overview
Dependencies
7
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

feathers-client

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


Version published
Weekly downloads
918
increased by13.19%
Maintainers
3
Install size
10.5 MB
Created
Weekly downloads
 

Changelog

Source

v2.4.0 (2017-09-02)

Full Changelog

Closed issues:

  • Feathers Authentication returning NotFound: Page not found #188
  • Typescript import build error #179

Merged pull requests:

Readme

Source

feathers-client

Greenkeeper badge

Build Status Code Climate Test Coverage Dependency Status Download Status Slack 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, feathers-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="/socket.io/socket.io.js"></script>
<script type="text/javascript" src="//cdn.rawgit.com/feathersjs/feathers-client/v1.1.0/dist/feathers.js"></script>
<script type="text/javascript">
  var socket = io();
  var client = feathers()
    .configure(feathers.hooks())
    .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) 2015 Feathers contributors

Licensed under the MIT license.

Keywords

FAQs

Last updated on 02 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc