Socket
Book a DemoInstallSign in
Socket

@dmno/fastify-integration

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dmno/fastify-integration

Fastify plugin to use configuration and secrets from DMNO

0.0.2
latest
Source
npmnpm
Version published
Weekly downloads
1
-75%
Maintainers
0
Weekly downloads
 
Created
Source

Check out the docs for more information on how to use DMNO + Fastify.

If you have any questions, please reach out to us on Discord.

@dmno/fastify-integration npm

Provides tooling to integrate DMNO into your Fastify app

Installation

npm add @dmno/fastify-integration

Example Usage

Import and register the dmnoFastifyPlugin when you initialize Fastify.

import Fastify from 'fastify';
import { dmnoFastifyPlugin } from '@dmno/fastify-integration';

const fastify = Fastify({ /* your config */ })

// register the DMNO fastify plugin
fastify.register(dmnoFastifyPlugin);

Adjust your package json script to run via dmno run, which will first resolve and validate your config, and then inject it into the running process.

{
  "name": "your-fastify-app",
  "scripts": {
    "dev": "dmno run -w -- nodemon src/main.js",
    "start": "dmno run -- node src/main.js"
  },
  // ...
}

Keywords

dmno

FAQs

Package last updated on 25 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.