Xander1233 / sparkcloud-sdk

SDK to create firebase-like cloud functions for SparkCloud.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SparkCloud SDK

The SparkCloud SDK is used to create cloud functions to be run on SparkCloud.

Installation

Run the following command to install the SDK:

$ npm install sparkcloud-sdk

Usage

import * as functions from 'sparkcloud-sdk';

export const helloWorld = functions.https.onCall((data, context) => {
  return { message: `Hello, ${data.name}!` };
});

License

All files in this repository are licensed under the MIT license. For more information, see the LICENSE file in the sparkcloud-sdk root directory.

About

SDK to create firebase-like cloud functions for SparkCloud.

License:MIT License


Languages

Language:TypeScript 99.0%Language:JavaScript 1.0%