文件名称:ipfs-dropzone:上传到IPFS而不是URL的Dropzone.js
文件大小:3KB
文件格式:ZIP
更新时间:2024-02-23 16:45:11
drag-and-drop ipfs file-upload dropzonejs IPFSJavaScript
此子类不会将删除的文件上传到URL,使用它们发布到 (无需运行本地节点)。 和都是对等依赖项。 用法 const IPFSDropzone = require ( 'ipfs-dropzone' ) let dz = IPFSDropzone ( '#files' , { /* the name of the repo which will store the IPFS blocks in the browser. this name will be used by IPFS to create the IndexedDB databases. defaults to "ipfs-dropzone" */ ipfsRepoName : 'filemap.xyz' , /* ipfsPath is a function that takes the dropzone file object and returns a string that will be used as the path when calling htt
【文件预览】:
ipfs-dropzone-master
----index.js(2KB)
----package.json(755B)
----.gitignore(25B)
----README.md(2KB)