Skip to content

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

License

Notifications You must be signed in to change notification settings

samsan1212/node-serverless-function-packer

Repository files navigation

Node Serverless Function Packer

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

Installation

npm i 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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published