Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @feathersjs/primus with all npm packages installed. Try it out:

var primus = require("@feathersjs/primus")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@feathersjs/primus v3.2.8

The Feathers Primus real-time API provider


Build Status Dependency Status Download Status

The Feathers Primus real-time API provider


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' }));



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


Copyright (c) 2018

Licensed under the MIT license.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free