Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

[MOVED] The Feathers Primus websocket transport plugin

License

Notifications You must be signed in to change notification settings

feathersjs-ecosystem/primus

Repository files navigation

@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.