当使用node.js应用程序中的以下代码以编程方式启动js节点时,它将启动群集,允许添加文件并将其查询回来。// code from the docs: https://github.com/ipfs/js-ipfs#use-in-nodejs
constnode = new IPFS()
node.on('ready', ()
import apigClientFactory from 'aws-api-gateway-client'import * as apigClientFactory from 'aws-api-gateway-client'Cannot find module 'aws-api-gateway-client'.