Gathering detailed insights and metrics for fastify-piscina
Gathering detailed insights and metrics for fastify-piscina
Gathering detailed insights and metrics for fastify-piscina
Gathering detailed insights and metrics for fastify-piscina
npm install fastify-piscina
Typescript
Module System
Node Version
NPM Version
JavaScript (85.16%)
TypeScript (14.84%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
65 Stars
34 Commits
8 Forks
2 Watchers
3 Branches
9 Contributors
Updated on Jun 19, 2025
Latest Version
5.0.0
Package Id
fastify-piscina@5.0.0
Unpacked Size
17.96 kB
Size
6.84 kB
File Count
19
NPM Version
9.5.0
Node Version
18.14.2
Published on
Dec 03, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
7
1const fastify = require('fastify')(); 2const { resolve} = require('path'); 3 4fastify.register(require('fastify-piscina'), { 5 // Piscina Options object. See Piscina docs for details 6 filename: resolve(__dirname, 'worker.js') 7}); 8 9// Declare a route 10fastify.get('/', async (request, reply) => { 11 reply.send({ hello: `world [${await fastify.runTask({ a: 1, b: 2 })}]` }); 12}); 13 14// Run the server! 15fastify.listen(3000, function (err, address) { 16 if (err) { 17 fastify.log.error(err); 18 process.exit(1); 19 } 20 fastify.log.info(`server listening on ${address}`); 21});
Once registered, the plugin decorates the fastify
instance
with two new properties:
fastify.piscina
{Piscina
} The Piscina instance.fastify.runTask()
{Function
} The Piscina runTask function.See the Piscina docs for more information.
Piscina development is sponsored by NearForm Research.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 5/15 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More