UNPKG

1.4 kBTypeScriptView Raw
1/**
2 * Faast.js transforms ordinary JavaScript modules into serverless cloud
3 * functions that can run on AWS Lambda and Google Cloud Functions.
4 *
5 * The main entry point to faast.js is the {@link faast} function, which returns
6 * an object that implements the {@link FaastModule} interface. The most common
7 * options are {@link CommonOptions}. Using faast.js requires writing two
8 * modules, one containing the functions to upload to the cloud, and the other
9 * that invokes faast.js and calls the resulting cloud functions.
10 * @packageDocumentation
11 */
12export { AwsOptions, AwsRegion } from "./src/aws/aws-faast";
13export { PersistentCache } from "./src/cache";
14export { CostAnalyzer, CostMetric, CostSnapshot } from "./src/cost";
15export { FaastError, FaastErrorNames } from "./src/error";
16export { Async, AsyncDetail, AwsFaastModule, Detail, faast, faastAws, faastGoogle, faastLocal, FaastModule, FaastModuleProxy, FunctionStatsEvent, GoogleFaastModule, LocalFaastModule, providers, ProxyModule, ProxyModuleDetail } from "./src/faast";
17export { GoogleOptions, GoogleRegion } from "./src/google/google-faast";
18export { LocalOptions } from "./src/local/local-faast";
19export { log } from "./src/log";
20export { CleanupOptions, CommonOptions, FunctionStats, IncludeOption, Provider } from "./src/provider";
21export { Statistics } from "./src/shared";
22export { Limits, throttle } from "./src/throttle";