🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@netlify/functions-utils

Package Overview
Dependencies
Maintainers
13
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/functions-utils

Utility for adding Functions files in Netlify Build

Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
200K
5.86%
Maintainers
13
Weekly downloads
 
Created
Source


Coverage Status Build

Utility for adding Functions files in Netlify Build.

This allows plugins to dynamically inject Netlify Functions inside users builds.

Example

module.exports = {
  name: 'example-plugin',
  // Add a Netlify Functions file or directory to a build
  async onPostBuild({ utils }) {
    await utils.functions.add('./path/to/function')
  },
}

API

add(path)

path: string
Returns: Promise

Add a Functions file or directory to a build.

FAQs

Package last updated on 26 Feb 2020

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