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

Latest commit

 

History

History
37 lines (22 loc) · 1.04 KB

README.md

File metadata and controls

37 lines (22 loc) · 1.04 KB

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