在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ipfs/js-ipfs-utils开源软件地址:https://github.com/ipfs/js-ipfs-utils开源编程语言:JavaScript 100.0%开源软件介绍:js-ipfs-utils
General use and Data structs wrangling should try to be just re-exports of community packages. The IPFS ecosystem has lots of repos with it comes several problems like:
These problems are the motivation for this package, having shared logic in this package avoids creating cyclic dependencies, centralizes common use modules/functions (exactly like aegir does for the tooling), semantic versioning for 3rd party dependencies is handled in one single place (a good example is going from streams 2 to 3) and maintainers should only care about having Table of ContentsInstall$ npm install --save ipfs-utils UsageEach function should be imported directly. const validateAddInput = require('ipfs-utils/src/files/add-input-validation')
validateAddInput(Buffer.from('test'))
// true FunctionsGeneral UseTODOData Struct WranglingTODOCore APITODOContributeContributions welcome. Please check out the issues. Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to this repo are subject to the IPFS Code of Conduct. LicenseMIT © Protocol Labs Inc. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论