GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - feathersjs-ecosystem/client: [MOVED] Client side Feathers build

This repository was archived by the owner on Sep 4, 2019. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

481 Commits
481 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
browser
browser
 
 
dist
dist
 
 
src
src
 
 
test
test
 
 
.babelrc
.babelrc
 
 
.gitignore
.gitignore
 
 
.istanbul.yml
.istanbul.yml
 
 
.npmignore
.npmignore
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Gruntfile.js
Gruntfile.js
 
 
LICENSE
LICENSE
 
 
authentication.js
authentication.js
 
 
bower.json
bower.json
 
 
core.js
core.js
 
 
index.js
index.js
 
 
mocha.opts
mocha.opts
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
primus.js
primus.js
 
 
readme.md
readme.md
 
 
rest.js
rest.js
 
 
socketio.js
socketio.js
 
 
version.js
version.js
 
 
webpack.config.js
webpack.config.js
 
 

Repository files navigation

@feathersjs/client

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.

Build 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:

  • @feathersjs/feathers as feathers (or the default module export)
  • @feathersjs/errors as feathers.errors
  • @feathersjs/rest-client as feathers.rest
  • @feathersjs/socketio-client as feathers.socketio
  • @feathers/primus-client as feathers.primus
  • @feathersjs/authentication-client as feathers.authentication

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/[email protected]/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.

About

[MOVED] Client side Feathers build

github.com/feathersjs/feathers

Topics

feathers-clientfeathersjs

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

112 stars

Watchers

2 watching

Forks

27 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.