Skip to content

A Fastify plugin that exposes threads.js functionality

License

Notifications You must be signed in to change notification settings

phr3nzy/fastify-threads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.