https://github.com/phr3nzy/fastify-threads
A Fastify plugin that exposes threads.js functionality
https://github.com/phr3nzy/fastify-threads
fastify threads
Last synced: 11 months ago
JSON representation
A Fastify plugin that exposes threads.js functionality
- Host: GitHub
- URL: https://github.com/phr3nzy/fastify-threads
- Owner: phr3nzy
- License: other
- Created: 2021-05-23T11:02:08.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T01:50:53.000Z (over 2 years ago)
- Last Synced: 2025-06-15T20:51:56.859Z (about 1 year ago)
- Topics: fastify, threads
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fastify-threads
[](https://www.npmjs.com/package/fastify-threads)
[](http://standardjs.com/)
A Fastify plugin that exposes [threads.js](https://github.com/andywer/threads.js) functionality
## Requirements
- Node.js v14+
## Install
```bash
$ npm install fastify-threads
# install using npm
$ yarn add fastify-threads
# install using yarn
```
## Usage
Using is as simple as requiring and registering it:
```javascript
const fastify = require("fastify");
const threads = require("fastify-threads");
const app = fastify();
app.register(threads);
```
Now you have access to all [threads.js](https://github.com/andywer/threads.js) functions.