@mathrunet/masamune
TypeScript icon, indicating that this package has built-in type declarations

2.8.3 • Public • Published

Masamune logo

Masamune Framework

Follow on Twitter Follow on Threads Maintained with Melos

GitHub Sponsor


[GitHub] | [YouTube] | [Packages] | [Twitter] | [Threads] | [LinkedIn] | [mathru.net]


Just load the package in index.ts and pass the predefined data to the methods to implement the server side.

Also, katana_functions_firebase can be used to execute server-side functions from methods defined on the client side, allowing for safe implementation.

Installation

Install the following packages

npm install @mathrunet/masamune

Implementation

Import the package as follows and pass the value of exports and the list of functions you wish to define to the deploy function.

import * as m from "@mathrunet/masamune";

// Define [m.Functions.xxxx] for the functions to be added to Functions.
// 
// Functionsに追加する機能を[m.Functions.xxxx]を定義してください。
m.deploy(
    exports,
    [
        // Function for PUSH Notification.
        m.Functions.send_notification,
    ],
);

Functions passed to deploy are deployed to Cloud Functions for Firebase.

GitHub Sponsors

Sponsors are always welcome. Thank you for your support!

https://github.com/sponsors/mathrunet

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.8.34latest

Version History

VersionDownloads (Last 7 Days)Published
2.8.34
2.8.23
2.8.13
2.8.03
2.7.04
2.6.101
2.6.91
2.6.81
2.6.71
2.6.61
2.6.51
2.6.31
2.6.21
2.6.11
2.6.01
2.5.01
2.4.41
2.4.31
2.4.21
2.4.11
2.3.191
2.3.181
2.3.171
2.3.161
2.3.151
2.3.141
2.3.131
2.3.121
2.3.111
2.3.101
2.3.91
2.3.81
2.3.71
2.3.61
2.3.51
2.3.41
2.3.31
2.3.21
2.3.11
2.3.01
2.2.131
2.2.121
2.2.111
2.2.101
2.2.91
2.2.81
2.2.71
2.2.61
2.2.51
2.2.41
2.2.31
2.2.21
2.2.11
2.2.01
2.1.11
2.1.01
2.0.11
2.0.01
1.10.41
1.10.31
1.10.21
1.10.11
1.10.01
1.9.11
1.9.01
1.8.51
1.8.41
1.8.31
1.8.21
1.8.11
1.8.01
1.7.01
1.6.51
1.6.41
1.6.31
1.6.21
1.6.11
1.6.01
1.5.11
1.5.01
1.4.01
1.3.11
1.3.01
1.2.91
1.2.81
1.2.71
1.2.61
1.2.51
1.2.41
1.2.31
1.2.21
1.2.11
1.2.02
1.1.11
1.1.01
1.0.01
0.6.31
0.6.21
0.6.11
0.6.01
0.5.32
0.5.22
0.5.11
0.4.41
0.4.31
0.4.21
0.4.11
0.4.01
0.3.02
0.2.01
0.1.71
0.1.52
0.1.42
0.1.32
0.1.21
0.1.11
0.1.01
0.0.82
0.0.72
0.0.62
0.0.52
0.0.42
0.0.32

Package Sidebar

Install

npm i @mathrunet/masamune

Weekly Downloads

148

Version

2.8.3

License

MIT

Unpacked Size

699 kB

Total Files

214

Last publish

Collaborators

  • mathru