It is our understanding that this functionality will be useful for other people, especially breaking down IPFS URL into CID and path. We have thoroughly unit tested the functions so it should be good as a package. My vote is on calling the package as ipfs-utils.
It is our understanding that this functionality will be useful for other people, especially breaking down IPFS URL into CID and path. We have thoroughly unit tested the functions so it should be good as a package. My vote is on calling the package as ipfs-utils.
Functions to be exported:
https://github.com/neume-network/strategies/blob/dcb94a91ca1b1736e82970e2957f7588a29c46fc/src/utils.mjs#L24
https://github.com/neume-network/strategies/blob/dcb94a91ca1b1736e82970e2957f7588a29c46fc/src/utils.mjs#L63
https://github.com/neume-network/strategies/blob/dcb94a91ca1b1736e82970e2957f7588a29c46fc/src/utils.mjs#L69