/fastify-threads

A Fastify plugin that exposes threads.js functionality

Primary LanguageJavaScriptOtherNOASSERTION

fastify-threads

NPM version js-standard-style

A Fastify plugin that exposes threads.js functionality

Requirements

  • Node.js v14+

Install

$ npm install fastify-threads
# install using npm

$ yarn add fastify-threads
# install using yarn

Usage

Using is as simple as requiring and registering it:

const fastify = require("fastify");
const threads = require("fastify-threads");

const app = fastify();

app.register(threads);

Now you have access to all threads.js functions.