在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ipfs-shipyard/ipfs-npm-republish开源软件地址:https://github.com/ipfs-shipyard/ipfs-npm-republish开源编程语言:JavaScript 100.0%开源软件介绍:ipfs-npm-republishRepublish your node project's dependencies to IPFS as a micro-registry Installnpm install -g ipfs-npm-republish You also need IPFS running, I recommend installing IPFS Desktop. UsageTo republish all the dependencies for your application, run the following command within folder with a package-lock.json present: ipfs-npm-republish To republish a specific module from npm along with it's dependencies to ipfs, run the following command passing the name of the package: ipfs-npm-republish react adding a version string also works: ipfs-npm-republish [email protected] You can also publish a new package directly to IPFS without needing to first publish to npmjs.org, run the following command within folder with a package.json present: ipfs-npm-republish publish To publish a second release to an existing package that was published to IPFS, you can pass the hash of the previous version of the registry: ipfs-npm-republish publish bafybeiahqsziz6mxofxlvx3baqcrihjicxoh27mcg4eukwybvb2u7whuzm You can also merge two micro-registries together: ipfs-npm-republish merge bafybeib7yv2z6bgmzphqjuexdb6smfah6pitmah4hzqb7rw7yjzmwocb6e bafybeic3ldukh6jfg2wq4fhrigtvgnf5lml6wo5qdkmsdlr3ieo63qczyu How it works
TODOS
LicenseMIT |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论