Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fc-run

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fc-run

a boot tool for ali function-compute proj

  • 1.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

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

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

注意

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

安装

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

运行

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

参数说明

-m 函数计算的入口文件,handler所在文件,默认为index.js -d 执行此函数的参数所在文件,默认为data.json,函数计算项目运行时会传给event

Keywords

FAQs

Package last updated on 11 Sep 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc