# gm-api **Repository Path**: ddm/gm-api ## Basic Information - **Project Name**: gm-api - **Description**: gm-api - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-01-19 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # gm-api #### 介绍 gm-api #### 安装教程 `npm i gm-api` #### 使用说明 云函数返回时调用此方法 ```javascript const Api = require('gm-api'); module.exports = Api({ main : async (context) => { return 'hello world'; }, test: function(){ console.log('正在执行test') return 1; } }).export() ```