npm.io
2.0.0 • Published 4 years ago

fastify-threads

Licence
MIT
Version
2.0.0
Deps
2
Size
9 kB
Vulns
0
Weekly
0
Stars
5

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.

Keywords