2: 因为整个 ipfs 及 libp2p 及相关的库,都是基于 esm 而不是 commonjs, 使用 require 的方式不能直接导入。 所以项目的模块应该是 module。
npm i mtipfsp2p
3
0.1.30
none
73.2 kB
80
a year ago