Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 810 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 810 Bytes

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.