neume-network / strategies

Indexing strategies for the neume network.
GNU General Public License v3.0
11 stars 7 forks source link

release ipfs util functions as a npm package #322

Open il3ven opened 1 year ago

il3ven commented 1 year ago

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