ssbc / ssb-ref

check if a string is a valid ssb-reference
MIT License
14 stars 10 forks source link

add normalizeChannel helper for consistent indexing/display across clients #12

Closed mmckegg closed 6 years ago

mmckegg commented 6 years ago

I'm using this function in quite a few places, and it should really be consistent across clients, so I've added it to ssb-ref.

When merged, will be used in ssb-backlinks, patchwork, patchcore

Okay if I merge @clehner @dominictarr ?

mmckegg commented 6 years ago

Since no one has objected to this being merged, I'm going to go ahead and do it!