faastjs
Version:
Serverless batch computing made simple.
23 lines (22 loc) • 1.4 kB
TypeScript
/**
* Faast.js transforms ordinary JavaScript modules into serverless cloud
* functions that can run on AWS Lambda and Google Cloud Functions.
*
* The main entry point to faast.js is the {@link faast} function, which returns
* an object that implements the {@link FaastModule} interface. The most common
* options are {@link CommonOptions}. Using faast.js requires writing two
* modules, one containing the functions to upload to the cloud, and the other
* that invokes faast.js and calls the resulting cloud functions.
* @packageDocumentation
*/
export { AwsOptions, AwsRegion } from "./src/aws/aws-faast";
export { PersistentCache } from "./src/cache";
export { CostAnalyzer, CostMetric, CostSnapshot } from "./src/cost";
export { FaastError, FaastErrorNames } from "./src/error";
export { Async, AsyncDetail, AwsFaastModule, Detail, faast, faastAws, faastGoogle, faastLocal, FaastModule, FaastModuleProxy, FunctionStatsEvent, GoogleFaastModule, LocalFaastModule, providers, ProxyModule, ProxyModuleDetail } from "./src/faast";
export { GoogleOptions, GoogleRegion } from "./src/google/google-faast";
export { LocalOptions } from "./src/local/local-faast";
export { log } from "./src/log";
export { CleanupOptions, CommonOptions, FunctionStats, IncludeOption, Provider } from "./src/provider";
export { Statistics } from "./src/shared";
export { Limits, throttle } from "./src/throttle";