Installations
npm install @forrestjs/service-fastify-static
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
20.11.1
NPM Version
lerna/4.0.0/node@v20.11.1+arm64 (darwin)
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (91.91%)
HTML (2.96%)
Dockerfile (2.74%)
CSS (1.51%)
Makefile (0.87%)
Developer
Download Statistics
Total Downloads
29,367
Last Day
6
Last Week
59
Last Month
219
Last Year
2,591
GitHub Statistics
43 Stars
865 Commits
9 Forks
5 Watching
7 Branches
4 Contributors
Bundle Size
103.04 kB
Minified
33.31 kB
Minified + Gzipped
Package Meta Information
Latest Version
5.2.2
Package Id
@forrestjs/service-fastify-static@5.2.2
Unpacked Size
3.13 kB
Size
1.69 kB
File Count
4
NPM Version
lerna/4.0.0/node@v20.11.1+arm64 (darwin)
Node Version
20.11.1
Publised On
18 Mar 2024
Total Downloads
Cumulative downloads
Total Downloads
29,367
Last day
-64.7%
6
Compared to previous day
Last week
3.5%
59
Compared to previous week
Last month
271.2%
219
Compared to previous month
Last year
-68.2%
2,591
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
@forrestjs/service-fastify-static
ForrestJS wrapper to the Fastify Static plugin.
Live Demo
https://codesandbox.io/s/service-fastify-static-6u8mm
Install & Setup
Install the dependency:
1npm add @forrestjs/service-fastify-static
Add it to your App:
1// index.js 2const path = require('path'); 3const forrestjs = require('@forrestjs/core'); 4const serviceFastify = require('@forrestjs/service-fastify'); 5const serviceFastifyStatic = require('@forrestjs/service-fastify-static'); 6 7// Run the app: 8forrestjs.run({ 9 services: [serviceFastify, serviceFastifyStatic], 10 settings: { 11 fastify: { 12 static: { 13 root: path.join(__dirname, 'public'), 14 }, 15 }, 16 }, 17});
Options
1setConfig('fastify.static', {
2 ...options here
3});
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
Reason
license file detected
Details
- Info: project has a license file: LICENCE.md:0
- Info: FSF or OSI recognized license: MIT License: LICENCE.md:0
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/17 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: containerImage not pinned by hash: gitbook/legacy/examples/cra-ssr-docker/Dockerfile:16
- Warn: containerImage not pinned by hash: gitbook/legacy/examples/cra-ssr-docker/Dockerfile:60
- Warn: containerImage not pinned by hash: gitbook/legacy/examples/cra-ssr-eslint/Dockerfile:16
- Warn: containerImage not pinned by hash: gitbook/legacy/examples/cra-ssr-eslint/Dockerfile:60
- Warn: containerImage not pinned by hash: gitbook/legacy/examples/cra-ssr-graphql/Dockerfile:16
- Warn: containerImage not pinned by hash: gitbook/legacy/examples/cra-ssr-graphql/Dockerfile:60
- Warn: containerImage not pinned by hash: gitbook/legacy/examples/cra-ssr-router/Dockerfile:16
- Warn: containerImage not pinned by hash: gitbook/legacy/examples/cra-ssr-router/Dockerfile:60
- Warn: containerImage not pinned by hash: gitbook/legacy/examples/cra-ssr-seo/Dockerfile:16
- Warn: containerImage not pinned by hash: gitbook/legacy/examples/cra-ssr-seo/Dockerfile:60
- Warn: containerImage not pinned by hash: gitbook/legacy/examples_dev/003-dockerfile/Dockerfile:16
- Warn: containerImage not pinned by hash: gitbook/legacy/examples_dev/003-dockerfile/Dockerfile:60
- Warn: containerImage not pinned by hash: gitbook/legacy/examples_dev/004-react-router/Dockerfile:16
- Warn: containerImage not pinned by hash: gitbook/legacy/examples_dev/004-react-router/Dockerfile:60
- Warn: containerImage not pinned by hash: gitbook/legacy/examples_dev/005-seo/Dockerfile:16
- Warn: containerImage not pinned by hash: gitbook/legacy/examples_dev/005-seo/Dockerfile:60
- Warn: containerImage not pinned by hash: gitbook/legacy/examples_dev/006-eslint/Dockerfile:16
- Warn: containerImage not pinned by hash: gitbook/legacy/examples_dev/006-eslint/Dockerfile:60
- Warn: containerImage not pinned by hash: gitbook/legacy/examples_dev/007-graphql/Dockerfile:16
- Warn: containerImage not pinned by hash: gitbook/legacy/examples_dev/007-graphql/Dockerfile:60
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples/cra-ssr-docker/Dockerfile:21
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples/cra-ssr-docker/Dockerfile:26
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples/cra-ssr-eslint/Dockerfile:21
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples/cra-ssr-eslint/Dockerfile:26
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples/cra-ssr-graphql/Dockerfile:21
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples/cra-ssr-graphql/Dockerfile:26
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples/cra-ssr-router/Dockerfile:21
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples/cra-ssr-router/Dockerfile:26
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples/cra-ssr-seo/Dockerfile:21
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples/cra-ssr-seo/Dockerfile:26
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples_dev/003-dockerfile/Dockerfile:21
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples_dev/003-dockerfile/Dockerfile:26
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples_dev/004-react-router/Dockerfile:21
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples_dev/004-react-router/Dockerfile:26
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples_dev/005-seo/Dockerfile:21
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples_dev/005-seo/Dockerfile:26
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples_dev/006-eslint/Dockerfile:21
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples_dev/006-eslint/Dockerfile:26
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples_dev/007-graphql/Dockerfile:21
- Warn: npmCommand not pinned by hash: gitbook/legacy/examples_dev/007-graphql/Dockerfile:26
- Info: 0 out of 20 containerImage dependencies pinned
- Info: 0 out of 20 npmCommand dependencies pinned
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 14 are checked with a SAST tool
Reason
67 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-pp7h-53gx-mx7r
- Warn: Project is vulnerable to: GHSA-832h-xg76-4gv6
- Warn: Project is vulnerable to: GHSA-c6rq-rjc2-86v2
- Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-hr2v-3952-633q
- Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm
- Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2
- Warn: Project is vulnerable to: GHSA-xf7w-r453-m56c
- Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97
- Warn: Project is vulnerable to: GHSA-44pw-h2cw-w3vq
- Warn: Project is vulnerable to: GHSA-jp4x-w63m-7wgm
- Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j
- Warn: Project is vulnerable to: GHSA-86wf-436m-h424
- Warn: Project is vulnerable to: GHSA-8w57-jfpm-945m
- Warn: Project is vulnerable to: GHSA-8g7p-74h8-hg48
- Warn: Project is vulnerable to: GHSA-pc5p-h8pf-mvwp
- Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37
- Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-4hpf-3wq7-5rpr
- Warn: Project is vulnerable to: GHSA-f522-ffg8-j8r6
- Warn: Project is vulnerable to: GHSA-896r-f27r-55mw
- Warn: Project is vulnerable to: GHSA-282f-qqgm-c34q
- Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm
- Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574
- Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm
- Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-ph34-pc88-72gc
- Warn: Project is vulnerable to: GHSA-m6cx-g6qm-p2cx
- Warn: Project is vulnerable to: GHSA-x8qc-rrcw-4r46
- Warn: Project is vulnerable to: GHSA-4328-8hgf-7wjr
- Warn: Project is vulnerable to: GHSA-93f3-23rq-pjfp
- Warn: Project is vulnerable to: GHSA-pw54-mh39-w3hc
- Warn: Project is vulnerable to: GHSA-xgh6-85xh-479p
- Warn: Project is vulnerable to: GHSA-gqgv-6jq5-jjj9
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-2m39-62fm-q8r3
- Warn: Project is vulnerable to: GHSA-325j-24f4-qv5x
- Warn: Project is vulnerable to: GHSA-mf6x-7mm4-x2g7
- Warn: Project is vulnerable to: GHSA-j44m-qm6p-hp7m
- Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9
- Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-x2mc-8fgj-3wmr
- Warn: Project is vulnerable to: GHSA-g7q5-pjjr-gqvp
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-xc7v-wxcw-j472
- Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-3j8f-xvm3-ffx4
- Warn: Project is vulnerable to: GHSA-j9fq-vwqv-2fm2
- Warn: Project is vulnerable to: GHSA-pqw5-jmp5-px4v
Score
1.8
/10
Last Scanned on 2025-01-27
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