sparkcloud-sdk
TypeScript icon, indicating that this package has built-in type declarations

2.2.1 • Public • Published

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.

Package Sidebar

Install

npm i sparkcloud-sdk

Weekly Downloads

8

Version

2.2.1

License

MIT

Unpacked Size

28.6 kB

Total Files

30

Last publish

Collaborators

  • xandrrrr