Socket
Socket
Sign inDemoInstall

function-packer

Package Overview
Dependencies
18
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    function-packer

A tool to help you installing and packing Node.js dependencies in one go


Version published
Weekly downloads
13
decreased by-80.6%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Node Serverless Function Packer

A tool to help you installing and packing Node.js dependencies in one go

Installation

npm i serverless-function-packer

How to use

Options

Options:
      --help            Show help                                      [boolean]
      --version         Show version number                            [boolean]
  -z, --zip             output a zip file                              [boolean]
      --zipname         create a zip file with a provided name, cannot used with --random-zipname [string]
      --random-zipname  create a zip file with a random name, cannot used with --zipname [boolean]
  -d, --out-dir         the output directory                 [string] [required]
  -p, --package-json    the filepath of the package json     [string] [required]

Simple Example

# create a zip archive of source code
functionpack -d dist -p package.json --zip

FAQs

Last updated on 29 May 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc