faast.js

faast.js

  • Docs
  • API
  • Community
  • GitHub
  • Blog

faastjs > IncludeOption

IncludeOption interface

Options for the CommonOptions.include option.

Signature:

export interface IncludeOption 

Properties

Property

Modifiers

Type

Description

cwd?

string

(Optional) The working directory if path is relative. Defaults to process.cwd(). For example, if cwd is "foo" and path is "bar", then the contents of the directory foo/bar/ will be added to the remote function under the path bar/.

path

string

The path to the directory or glob to add to the cloud function.

  • IncludeOption interface
  • Properties
faast.js
Docs
IntroductionAPI ReferenceContributingExamples
Community
DiscordTwitterStack Overflow
More
BlogUser Showcase
Copyright © 2025 Andy Chou