Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fnhub-serverless-plugin

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fnhub-serverless-plugin

Plugin to make Serverless work with fnhub

  • 2.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

fnhub-serverless-plugin

A Serverless Plugin for fnhub.

fnhub is a software registry for serverless functions. The plugin lets you include functions from fnhub in your serverless configuration.

You can use other functions, not coming from fnhub, within your serverless configuration.

Currently, supports AWS Lambda only.

Installation

npm install --save-dev fnhub-serverless-plugin

Add to your serverless.yml file in the plugins section:

plugins:
  - fnhub-serverless-plugin

Commands

Include

Include a given version of a published function from fnhub:

serverless include --function functionname@functionversion

The function version may be latest, and if omitted defaults to latest.

Modifies your serverless.yml and adds a custom section (or appends to the existing one). The custom section includes the function, defines its environment variables as declared by the function creator. You should assign meaningful values to these environment variables, according to the function description.

The zip file for the function is downloaded to your local computer and will be used during serverless deployment.

Deploy

As usual:

serverless deploy

Deploys your services, including the functions coming from fnhub.

FAQs

Package last updated on 30 Aug 2017

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc