How to use the @feathersjs/primus function in @feathersjs/primus

To help you get started, we’ve selected a few @feathersjs/primus examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DefinitelyTyped / DefinitelyTyped / types / feathersjs__primus / feathersjs__primus-tests.ts View on Github external
import feathers, { Application } from '@feathersjs/feathers';
import feathersPrimus from '@feathersjs/primus';

const app: Application = feathers().configure(feathersPrimus({}));

@feathersjs/primus

The Feathers Primus real-time API provider

MIT
Latest version published 3 years ago

Package Health Score

70 / 100
Full package analysis

Popular @feathersjs/primus functions