🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@guivic/fastify-socket.io

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guivic/fastify-socket.io

Fastify socket.io plugin.

latest
npmnpm
Version
0.1.3
Version published
Maintainers
2
Created
Source

@guivic/fastify-socket.io

dependencies status dev-dependencies status Node.js CI

Installation

npm install @guivic/fastify-socket.io --save

yarn add @guivic/fastify-socket.io

Usage

Per default Socket.io will listen on your server address.

fastify.register(require('@guivic/fastify-socket.io'), options, (error) => console.error(error));

fastify.get('/', (request, reply) => {
	console.log(fastify.io) // Socket.io instance
});

Options

Socket.io configuration object.

https://socket.io/docs/server-api

Author

Ludovic LĂŠrus from Guivic

License

Licensed under MIT.

Keywords

guivic

FAQs

Package last updated on 10 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts