This repository has been archived by the owner. It is now read-only.
[MOVED] The Feathers Primus websocket transport plugin
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Adding .github folder and templates Oct 22, 2016
lib Update @feathersjs/transport-commons to the latest version 🚀 (#77) Feb 9, 2018
test Update ws to the latest version 🚀 (#81) Jul 23, 2018
.editorconfig Initial commit: Plugin skeleton Jan 2, 2016
.gitignore Update to new plugin infrastructure (#61) Oct 23, 2017
.istanbul.yml Update to new plugin infrastructure (#61) Oct 23, 2017
.npmignore Update to new plugin infrastructure (#61) Oct 23, 2017
.travis.yml Update ws to the latest version 🚀 (#81) Jul 23, 2018
CHANGELOG.md Updating changelog Jun 3, 2018
LICENSE Initial commit: Plugin skeleton Jan 2, 2016
README.md
mocha.opts Compatibility and updates for Feathers v3 (#62) Oct 23, 2017
package-lock.json Update ws to the latest version 🚀 (#81) Jul 23, 2018
package.json chore(package): update @feathersjs/commons to version 2.0.0 (#83) Aug 3, 2018

README.md

@feathersjs/primus

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

The Feathers Primus real-time API provider

Installation

npm install @feathersjs/primus --save

Quick example

const feathers = require('@feathersjs/feathers');
const primus = require('@feathersjs/primus');

const app = feathers();

// Set up Primus with SockJS
app.configure(primus({ transformer: 'ws' }));

app.listen(3030);

Documentation

Please refer to the @feathersjs/primus documentation for more details.

License

Copyright (c) 2018

Licensed under the MIT license.