Socket
Socket
Sign inDemoInstall

fc-run

Package Overview
Dependencies
7
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fc-run

a boot tool for ali function-compute proj


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
86.3 kB
Created
Weekly downloads
 

Readme

Source

阿里函数计算项目的运行工具

阿里函数计算是一个在沙盒中运行的独立工程。且函数的handler入口方法不能直接在node环境下运行。此工具模拟调用了handler的入口方法。

注意

此工具适用于nodejs语言开发的函数计算。

安装

使用npm全局安装: npm install fc-run -g

运行

在函数计算代码的根目录运行: fc-run -m index.js -d data.json

参数说明

-m 函数计算的入口文件,handler所在文件,默认为index.js -p 执行此函数的参数所在文件,默认为data.json,函数计算项目运行时会传给event -d 指定函数计算工程的目录。默认为当前目录。值可以是相对路径

Keywords

FAQs

Last updated on 14 Sep 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc