multiformats / multiaddr

Composable and future-proof network addresses
https://multiformats.io/multiaddr
MIT License
425 stars 85 forks source link

Consolidate multiaddr transformations #88

Open ghost opened 5 years ago

ghost commented 5 years ago

We already support a number of map/filter like operations on multiaddrs, which take as input a list of multiaddrs and sometimes certain conditions, and return as output a list of multiaddrs.

The first three should probably be collapsed into a single package.

A minimal generalized API for these transformations should be part of the multiaddr spec.

ntninja commented 5 years ago

@lgierth: Can you take a look at #87? Particularily wrt to the filter syntax it seems relevant, I believe.